Re: [PHP] MySQL: copying entire columns

2001-11-30 Thread Chris Hobbs
Tom Churm wrote: >$sql = "Insert into $table_name(Address, Phone, Name) >values('$Address','$Phone','$Name')"; > >if this is true, it'll save me a lot of useless time trying to reorder >my tables. > That be it :) --

Re: [PHP] Very interesting and challenging question

2001-11-28 Thread Chris Hobbs
the reader to figure out how to get those values into the db :) Hope this helps! Chris Hobbs #42 NNASCAR league :) Dan McCullough wrote: >I need to take a file, similar to this and strip it of everything but this, and write >it to a >database. Are there any thoughts on how to get th

Re: [PHP] url exist?

2001-11-15 Thread Chris Hobbs
Looks like you might be able to use the cURL extensions - there's a function called curl_getinfo which returns an array which includes http_code - you could check the value of that to see whether the file was available (http_code == 200), not found (

Re: [PHP] Variable definitions...

2001-11-13 Thread Chris Hobbs
tudying at college). > > Stephan > > P.S.: If you agree with me or not can you also send me an email to me? > [EMAIL PROTECTED] > > > -- ___ ____ _ Chris Hobbs

Re: [PHP] User Authentication

2001-11-13 Thread Chris Hobbs
e & password - once they are > logged in they can see information customised to each separate user. > Without being logged in the won't see any valuable information. > Especially issues dealing with hackers. > > Thanks, > Damien > > > > --

Re: [PHP] Form Name Attribute Help!

2001-11-10 Thread Chris Hobbs
ords, let's assume we only have the form names "formName1" and > "formName1" - What code I can use in file2.php to get the name of the > calling form. I just want to know how can I get the name of the form (in the > above case, formName1 or formName2)

Re: [PHP] Apache User Groups?

2001-11-10 Thread Chris Hobbs
http://www.apache.org/foundation/mailinglists.html Eric wrote: > Does anyone know of a usergroup for Apache? I am having difficulties > finding one and am having some troubles with Apache. > > > Thanks > Eric > > -- ___ ___ _

Re: [PHP] rules for headers?

2001-11-10 Thread Chris Hobbs
$rendu"; > }else{ > > header("Content-type: image/png"); > $image = imagecreate(500, 350); > //etc... > } > ?> > > -- ___ ____ _ Chris Hobbs / \ \/ / | | |/ ___\| __ \ Head Geek|

Re: [PHP] MORE INFO > Eval()??? A variables contents?

2001-11-09 Thread Chris Hobbs
( $params["class"] ) ? $class = "class=" . $params["class"] : $class = ""; > ( $params["content"] ) ? $content = $params["content"] : $content = ""; > > ?> > > > > > > > > > > > > > > } > > ?> >

Re: [PHP] Eval()??? A variables contents?

2001-11-09 Thread Chris Hobbs
lent to JavaScript's eval($commands) function? > > TIA, > > Christopher Raymond > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list adminis

Re: [PHP] Re: Submitting variables via /'s

2001-10-05 Thread Chris Hobbs
ite structure because of how carefully the links were > laid out. > > The same thing wouldn't happen (in most cases I guess) with a site of the > '?var=2&var2=4' method of doing links. Exactly why I switched our site from '/index.php?page=1' to &

Re: [PHP] Problem recursively building array

2001-09-26 Thread Chris Hobbs
Chris Hobbs wrote: > $dirList = $dirList + getDirList($dirName."/".$entry); OK, on a lark I changed the above to use array_merge, and the problem went away - that'll teach me to use a shortcut :) -- ___ ___ _

[PHP] Problem recursively building array

2001-09-26 Thread Chris Hobbs
ries, and all of other directories, are missing. Sample output is here: http://www.silvervalley.k12.ca.us/boarddocs/bpar.php Complete code is here: http://www.silvervalley.k12.ca.us/boarddocs/bpar.phps I'm gonna be real annoyed if I missed something stupid. I built as much debugging output

Re: [PHP] Can someone explain this????

2001-09-21 Thread Chris Hobbs
o keep posting this tripe... My $0.02. -- ___ ____ _ Chris Hobbs / \ \/ / | | |/ ___\| __ \ Head Geek| (___ \ \ / /| | | | (___ | | | | WebMaster \___ \ \

Re: [PHP] The Salty Marine's eMail eMuster Subscription

2001-09-19 Thread Chris Hobbs
[EMAIL PROTECTED] wrote: > Thank you for subscribing to the Salty Marine's eMail eMuster newsletter, This can't be good... ;) -- ___ ____ _ Chris Hobbs / \ \/ / | | |/ ___\| _

Re: [PHP] Compiling php like C

2001-09-15 Thread Chris Hobbs
ttp://www.snopes2.com/inboxer/hoaxes/predict.htm -- ___ ___ _ _ Chris Hobbs / \ \/ / | | |/ ___\| __ \ Head Geek| (___ \ \ / /| | | | (___ | | | | WebMaster \___ \ \ \/ / | |

Re: [PHP] Choices for root privilege

2001-09-15 Thread Chris Hobbs
handle the security side of this issue. -- ___ ____ _ Chris Hobbs / \ \/ / | | |/ ___\| __ \ Head Geek| (___ \ \ / /| | | | (___ | | | | WebMaster \___ \ \ \/ / | | | |\___ \| | | | PostMaster) | \ / | |__| |) | |__| | \/\/\

Re: [PHP] another easy cookie question

2001-09-14 Thread Chris Hobbs
http://wherver.com/index.php). Second, once you've sent the Location header to the browser, I would expect it to immediately request the new page, and therefore not get the cookie you send afterwards. Why not just set the cookie in index.php? My $0.02... -- __

Re: [PHP] Re: Terms used in search engine.

2001-09-13 Thread Chris Hobbs
ng _far_ too much from most of the population on the Internet :) -- ___ ____ _ Chris Hobbs / \ \/ / | | |/ ___\| __ \ Head Geek| (___ \ \ / /| | | | (___ | | | |

Re: [PHP] threaded forum to display replies

2001-09-13 Thread Chris Hobbs
ke > $messageID = $p_id +1; > showMessages($messageID); > > This only works if the messageids are 1 2 3 4 5 6. but > if two consecutive messages have messages ids like 13 > and 15 or 14 and 20 for example, this does not work. > Please help me here. -- Chris Hobbs Silver Va

Re: [PHP] 304 Not Modified

2001-09-05 Thread Chris Hobbs
Ouster wrote: >header("304 Not Modified); > Looking at the docs (I know, silly, eh?), the correct form of this appears to be: header ("HTTP/1.0 304 Not Modified"); In addition to the missing " as was already pointed out... Chris Hobbs Silver Valley Unified S

Re: [PHP] replacing a carriage return with an html break

2001-09-03 Thread Chris Hobbs
am >unsure if either one will work and im not sure how to use them. Try: http://www.php.net/manual/en/function.nl2br.php -- ___ ___ _ _ Chris Hobbs / \ \/ / | | |/ ___\| __ \ Head Geek| (___ \ \ / /| | | | (___

Re: [PHP] probs with exec, pls pls help

2001-09-03 Thread Chris Hobbs
that solves it. -- ___ ____ ____ _____ Chris Hobbs / \ \/ / | | |/ ___\| __ \ Head Geek| (___ \ \ / /| | | | (___ | | | | WebMaster \___ \ \ \/ / | | | |\___ \| |

Re: [PHP] php's future

2001-09-02 Thread Chris Hobbs
speculation. > > - Tim > http://www.phptemplates.org > > > On Sun, 2001-09-02 at 15:08, Mark Charette wrote: > >>And, of course, the JSP was running 2 x 2 iterations, or 400,000,000 >>iterations, in a few seconds. >> >>Yeah, right. &g

Re: [PHP] php's future

2001-09-02 Thread Chris Hobbs
ast my) real world. -- ___ ____ _ Chris Hobbs / \ \/ / | | |/ ___\| __ \ Head Geek| (___ \ \ / /| | | | (___ | | | | WebMaster \___ \ \ \/ / | | | |\___ \