Re: [PHP] Cant set info in DB...HELP

2007-06-02 Thread Tijnema
On 6/2/07, kvigor <[EMAIL PROTECTED]> wrote: Hello, I'm using phpMyAdmin and I can't get any of my form data into the database. It returns message: "MySQL returned an empty result set" w/in phpMyAdmin GUI. However I get no errors on screen when form info is submitted. What I have done to solve

Re: [PHP] uploading really big files

2007-06-02 Thread Alexander Jaeger
Angelo Zanetti schrieb: clive wrote: Angelo Zanetti wrote: Dear all We need to develop a system where we can upload really big files. IE 15 - 25 Mb. I know its not a php answer, but if you have ever uploaded a file with facebook then you will have seen the little applet they push down t

[PHP] Re: Error logging

2007-06-02 Thread itoctopus
I've had the same weird problem before, and eventually I discovered that the error_reporting was set on the script level (eg in the PHP page) using the function error_reporting. The thing is any setting in your php pages would overwrite the php.ini setting (as far as I know). -- itoctopus - ht

[PHP] Getting the filesize of a file with the help of javascript

2007-06-02 Thread Mark
Hey, I`m currently making a script and i`m having the intention of getting it to work on as much hosts as possible. The big problem with this is that some host (mostly free hosts) turn off alot of vital functions that i need to get for example the filesize of a remote file (or anything remote). N

Re: [PHP] Streaming download to IE doesn't work

2007-06-02 Thread Steve
That's why you comment your code. Take the extra time and put a bit of effort into explaining yourself. Add in a paragraph explaining what's going on, link to whatever solution you found on the web (who knows it might still exist), and just outright bloat it with comments. You might find it anno

Re: [PHP] Getting the filesize of a file with the help of javascript

2007-06-02 Thread Richard Lynch
On Sat, June 2, 2007 9:42 am, Mark wrote: > I`m currently making a script and i`m having the intention of getting > it to > work on as much hosts as possible. > The big problem with this is that some host (mostly free hosts) turn > off > alot of vital functions that i need to get for > example the

Re: [PHP] uploading really big files

2007-06-02 Thread Richard Lynch
On Sat, June 2, 2007 8:38 am, Alexander Jaeger wrote: > - Give them FTP or SCP or something that is more stable and will > re-try. > > -> *SCP* (http://en.wikipedia.org/wiki/Secure_copy) > SCP ?!? an shell account for an unkown person on a server? > NO DONT DO THAT!!! > t

Re: [PHP] Cant set info in DB...HELP

2007-06-02 Thread Richard Lynch
On Fri, June 1, 2007 10:52 pm, kvigor wrote: > I'm using phpMyAdmin and I can't get any of my form data into the > database. > It returns message: "MySQL returned an empty result set" w/in > phpMyAdmin > GUI. That might be normal... If you are doing an INSERT, you won't have a result set returned

Re: [PHP] linking to an image with document_root

2007-06-02 Thread Richard Lynch
On Fri, June 1, 2007 6:33 pm, chris smith wrote: > On 6/2/07, Richard Lynch <[EMAIL PROTECTED]> wrote: >> On Fri, June 1, 2007 3:16 am, blueboy wrote: >> > May be a stupid question but can I link to images with doscument >> root >> > >> > $img_url= $_SERVER['DOCUMENT_ROOT'].'/images/holder.gif';

Re: [PHP] linking to an image with document_root

2007-06-02 Thread Richard Lynch
On Fri, June 1, 2007 8:37 pm, Tom Rogers wrote: > Friday, June 1, 2007, 6:16:34 PM, you wrote: > b> May be a stupid question but can I link to images with doscument > root > > b> $img_url= $_SERVER['DOCUMENT_ROOT'].'/images/holder.gif'; > > b> echo ""; > > b> I am certain the path is correct, > > b

Re: [PHP] Re: $_GET strings seperation

2007-06-02 Thread Navid Yar
Hey Jarred, Sorry I couldn't get to you earlier. Thanks again for all the help. And yes, I live maybe about 15-20 min from the new stadium. Take care... Navid On 5/27/07, Jared Farrish <[EMAIL PROTECTED]> wrote: On May 26, 5:39 pm, [EMAIL PROTECTED] ("Navid Yar") wrote: > Thanks so much Jarre

Re: [PHP] uploading really big files

2007-06-02 Thread Alexander Jaeger
Depends who is doing the uploading... One also could imagine a write-only account, either in FTP or SCP setup. I know I've seen this in FTP, and I don't see any reason SCP couldn't. the reason why scp is different is it needs an system account with a valid shell. FTP does simply not (but

[PHP] When and when not to use ' and "

2007-06-02 Thread Brian Seymour
I noticed today when I was using mysql_fetch_array something weird happened. Database: | id | 1 Code: $colVal = "id"; $foo=mysql_fetch_array($someresult, MYSQL_ASSOC); Now all I wanted to do was get the value of 1 into the variable $bar. Please assume $someresult was the direct product of mysql_

Re: [PHP] When and when not to use ' and "

2007-06-02 Thread Daniel Brown
On 6/2/07, Brian Seymour <[EMAIL PROTECTED]> wrote: I noticed today when I was using mysql_fetch_array something weird happened. Database: | id | 1 Code: $colVal = "id"; $foo=mysql_fetch_array($someresult, MYSQL_ASSOC); Now all I wanted to do was get the value of 1 into the variable $bar. Plea

Re: [PHP] When and when not to use ' and "

2007-06-02 Thread Richard Lynch
On Sat, June 2, 2007 3:15 pm, Brian Seymour wrote: > $bar = $foo['$colVal']; // didn't work > $bar = $foo['{$colVal}']; // didn't work > $bar = $foo[$colVal]; // worked > $bar = $foo['id']; // obviously worked > > What I don't understand is why the first or second option didn't work. > > Can anybod

Re: [PHP] uploading really big files

2007-06-02 Thread Richard Lynch
On Sat, June 2, 2007 3:01 pm, Alexander Jaeger wrote: >> Depends who is doing the uploading... >> >> One also could imagine a write-only account, either in FTP or SCP >> setup. >> >> I know I've seen this in FTP, and I don't see any reason SCP >> couldn't. >> >> > the reason why scp is different is

Re: [PHP] I cannot figure out why this is not working?

2007-06-02 Thread Tijnema
On 6/2/07, Brad Sumrall <[EMAIL PROTECTED]> wrote: Where did you get $email2?? $subject = ("Thank you"); $email = $_POST['email'] . "\n"; Why do you need $email? $headers = "Reply-To: " . $_POST['email'] . "\n"; $body = "Thank you for signing our Guest Book and visiting our website. Fe

Re: [PHP] Cant set info in DB...HELP

2007-06-02 Thread Stut
Please include the list on all replies. K.Hayes wrote: I don't know if I'm escaping the 'vars correctly'. If I'm wrong can you give me an example? $sql_query = "INSERT INTO contestants (conName, conAddress, conCity, conState, conZip, conPhone, schName, schAddress, schCity, schState, schZip,

Re: [PHP] Cant set info in DB...HELP

2007-06-02 Thread K. Hayes
What "lists" are you referring to? Also this is how the examples show I've seen. I know this is basic general stuff but I try many times before posting, and I have followed all directions given. So this is what I did, and nothing is set DB still :-( ===NEW CODE==

Re: [PHP] Cant set info in DB...HELP

2007-06-02 Thread Stut
K. Hayes wrote: What "lists" are you referring to? Also this is how the examples show I've seen. I mean hit "Reply to all" in your mail client. That way you include the email address of the PHP General mailing list so everyone, including the archives, can see your reply. I know this is bas