| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Comments:
<0> then you can script it <1> [fields]: Why use PHP? You should be able to do it directly using SQL. <2> [fields] Why? <3> POKE Ahroun, 0 <2> or PHP-My admin or MySQL Yog. <4> tempest: done that, it only shows me details, that I would then have to loop through to create my own CREATE TABLE query, and I'm not doing that. <0> well in that case, ask in #sql :-p <4> TML: because I'm building a module in PHP that needs to do this. <1> CREATE TABLE FOO AS (SELECT * FROM BAR LIMIT 0); <5> Not so hard, ||cw. :P Or else I'll PEEK you and RETURN. <4> tempest: heh, #mysql told me to leave and come here <4> TML: oooooh thats ***y <4> TML: thanks <6> what was it? poke 65535 <reset> <-- c64 :) <2> TML: you don't know of any PHP Projects that need a gearhead do you? <7> how many of you guys using mysqli instead of mysql functions?
<5> I don't remember. I'll have to pull out my VIC20 when I get home and check. <1> walterwo1: No <8> hi, i have a doubt, do i need to connect to mysql in every script? <1> walterwo1: But then, I don't know of any PHP projects. <1> uribes: Yes <4> storm: looks about right <9> TML, that query works in pgsql, too <4> uribes: if you want mysql access, yep <1> jonez: I know <8> its mean that the connection lost in every script? <0> uribes: if you don't want it to be use a persistant connection <10> i have a var (example: mike test,tom flower, and so on) and I want to split them after comma first and then after first and last name. I do the $new_list = explode(',', $list); but how can I get the first and last name then? <4> uribes: the connection is made when you make it, it closes when the page is done outputting <8> ok <0> uribes: http://us2.php.net/mysql_pconnect <4> phpdjt: split on " " <4> space <6> uribes: You don't want pconnect, because it's abused 99.9% of time. <8> i'm new in this language, but i like it <8> thanks <4> uribes: indeed, it is the best lang <0> Stormchaser: how can it be abused? <11> pconnect, hmm.. pornconnect? <12> Whta is the php option that turns on mysql slashing? <6> tempest1: Too many connections? <2> Mr_Chiller: I wish. <4> xbeanx: magic_quotes ? <6> xbeanx: mysql_real_escape_string() <0> Stormchaser: yea, but does alot of calls on a persistent connection cause problems? <8> are there a gui for this lang? <6> [fields]: *blink* <12> magic quotes is what I was looking for..thx <6> tempest1: yes. <0> xbeanx: using magic quotes is bad <4> didn't we have this discussion an hour ago about magic quotes? <13> magic_quotes doesn't actually correctly escape strings for MySQL <6> [fields]: No matter what the result was: They're bad for you and should never be (ab)used. <14> Yeah, we've already had this discussion today. <12> okay <12> I only ask because I'm moving from a server with it on to a server with it off. Maybe I'll just fix the broken stuff <2> It was an ugly discussion too. <12> ...rather than turning on magic quotes. <8> if i want to make a proyect but not in web, could i? <14> They're bad, they're easy to work around, they're not always subject to being disabled on hosts. And the weather today in Portland is a nice 65 with a light breeze. <4> uribes: some have made better text editors for this language. I wouldn't want it GUI, what would they call that? PHPVBScript? <4> oooh I'm jealous of Portland, we'll have that tomorrow here in Indiana. <8> ok, thanks fields <15> [fields]: nothing happends with the onload thing <6> *cough*phpGTK*cough* <4> ahhh I haven't heard about phpGTK in a couple years <6> Don't use it, tho... Use languages appropriatee for GUI development. <4> vooloo: learn more javascript <15> [fields]: :E <4> vooloo: document.YourFormName.submit(); <6> Vooloo: #javascript. Now. <16> too bad this isnt #javascript <4> maybe you didn't name your form, maybe you didn't close your form. yeah this is not #javascript <5> uribes: there's WinBinder if you're using Windows.
<17> i am doing a var_dump($_SESSION) what does ["jobId"]=> &string(1) "9" mean? the '&' i cant do echo $_SESSION['jobId']; <2> Vooloo: do some research and get the extension for firefox that debugs Javascript. <4> MGrim: what does print_r($_SESSION) give ya? <2> *shotgun. <6> shorgun is okay, too <2> 'Durn varmint' <18> Can anyone help me out, my session_id seems to be changing everytime I do a re-direct to another page, or refresh the same page. BUT only with IE, Firefox works well and the session_id() does not change. Why is Firefox able to keep the same session_id, while IE starts a new one each time? IE starts a new session_id if I refresh the page... <19> http://www.emedicine.com/derm/images/Large/1484harlequin_fetus.jpg weird medical condition <2> We have a coyote problem here. <20> clyrrad: perhaps your IE is not accepting the cookie <5> Not me. I'm not a coyote. <18> philip, for the session, should the "cookie" not reside on the server? <7> perhaps you disable cookies in IE <21> I think that's more than a 'condition' <2> itrebal: That was just gross. <6> itrebal: Ew. that's sick. <19> ndnet: its a temporary syndrome <18> johndoe, no If i run the same application on another server it works <20> clyrrad: the browser must remember the session id somehow through the request, a cookie is a common way, although p***ing through the URL as GET is another <21> temporary how? lol <19> it lasts for about 5 minutes and goes away <17> nevermind <22> Is there a place where one can "save" code? Looking for a place where I can backup some of my misc. scripts I've wrote. <20> clyrrad: cookies are stored client-side... always <17> fixed the bug <2> itrebal: Temporary, it looked terminal. <18> philip, this same application works find on another server with IE, and Firefox <18> seems to be something with this server and IE <22> Like some online service? <23> hi guys, anyone know a good method to not to show the link source (eg GET[] ...) in status bar? <6> will: pastebin.com <20> clyrrad: there is a directive to p*** session id via get automagically when cookie is not accepted <20> perhaps one server has this on <18> philip do you know what it is called? <2> Aapinne: POST <20> trans_sid or some such <6> will: Scratch that. Just burn them on CD <22> Stormchaser, That doesn't make it very easy to save it for longterm use. For example, I made this script to convert PDFs to PNGs. I just want to make sure if that server ever goes down, I won't lose it.. <20> php.net/ref.session lists all <18> philip are you talking about httpd.conf or php.ini? <23> yeah, but i use GET too, maybe there was something that doesn't show this <22> Stormchaser, I'm known to lose my backups :) That's why I was hoping there was some online place... it's just text... <4> Aapinne: go ask in javascript, its pretty simple <20> php directives are set in php.ini <20> but either will work <23> okay fields, thx mate <5> will: google mail. Email yourself your code. <2> Aapinne: Nope. <19> walterwo1: thats what i ment, its temporary in the aspect it goes away with death :) <18> ok going to take a look there, becase its strange why Firefox works and not IE and only on this server <23> uhm <22> Ahroun, Good idea... Thanks. <19> will: pastebin.ca can create 'permanent' posts by setting a time-out <20> clyrrad: but also there is a reason :) <2> itrebal: Life in general is temporary, and that is pretty heartless man. <24> I'm trying to do a foreach on a $_POST and it's returning object id '1 - anyideas??? <22> itrebal, I would prefer not to make the code public... Just in case I have sensitive info in there. <19> will: understood <19> walterwo1: i do the occasional sick thing <2> krisp: foreach( $_POST as $key=>value ) <6> will: Burn that damn CD! <24> ahha <24> I'm usng -> <2> itrebal: Your terminal. <2> krisp: that would do it. <24> cheers walterwo1 <24> didn't think of that
Return to
#php or Go to some related
logs:
fglrx.ko needs unknown symbol pm_register checking for KDE... configure: error: in the prefix, you've chosen, are no KDE h ubuntu unistall wine #perl dapper I810 no matching device section #linux give-a-man-a-fire merlyn #web #math mpeg executable player for ubuntu linux
|
|