[PHP] File Upload
Hi everybody, I'm trying to upload a file using the following scripts, but it doesn't work, it actually doesn't get through the first line of PHP script at all and displays "a problem has occured" message. I'm running the script on RH Linux/PHP4. Is there anything I'm missing here??? Many thanks in advance, Miro. - [upload_file.html] File Upload Choose a file: [input_file.php] \n"; echo "userfile_name: $testfile_name\n"; echo "userfile_size: $testfile_size\n"; } else { echo "no file updated"; } } else { echo "a problem has occured"; } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: File Upload
Hi Bodgan.. yes, I have globals On, Uploads On and SafeMode=off.. no luck... I did it exactly by the book, damn it..:-( -Original Message- From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 22:09 To: [EMAIL PROTECTED] Subject: [PHP] Re: File Upload Globals on? File uploads allowed? Safe mode off? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] File Upload
Thanks Tom, but still no luck.. it seems like it doesn't recognize $testfile variable at all in PHP script, even thought the globals are ON... You are missing this bit: -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] JPG from Blob to HTML
Hi, I have few images in PostgreSQL Blob field that I want to retrieve and put on HTML page. Is there a way how can I do it directly from blob, or I have to copy it into tmp file first and then use tags in html? TIA, miro. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] JPG from Blob to HTML
ops, sorry for that.. -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 15, 2002 12:39 To: [EMAIL PROTECTED] Subject: Re: [PHP] JPG from Blob to HTML On Monday 16 December 2002 01:33, Miro Kralovic wrote: * Bad thread start \__ You have started a new thread by taking an existing posting and replying to it while you changed the subject. That is bad, because it breaks threading. Whenever you reply to a message, your mail client generates a "References:" header that tells all recipients which posting(s) your posting refers to. A mail client uses this information to build a threaded view ("tree view") of the postings. With your posting style you successfully torpedoed this useful feature; your posting shows up within an existing thread it has nothing to do with. Always do a fresh post when you want to start a new thread. To achieve this, click on "New message" instead of "Reply" within your mail client, and enter the list address as the recipient. You can save the list address in your address book for convenience. > I have few images in PostgreSQL Blob field that I want to retrieve and put > on HTML page. Is there a way how can I do it directly from blob, or I have > to copy it into tmp file first and then use tags in html? You can output it directly. Just send the appropriate headers beforehand. Search archives for details. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* The doctrine of human equality reposes on this: that there is no man really clever who has not found that he is stupid. -- Gilbert K. Chesterson */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] MySQL vs PostgreSQL
Hi, I'm just deciding which DB to use for my projects and I'm not clear with one thing... When considering a database for web, is MySQL good enough? I read it only supports table locking, which is not very satisfying in such a multiuser environment as the internet.. Based on your experience, what are pros and cons of MySQL and why most of you prefer to use MySQL to PostgreSQL, which is aparently more powerful.. Thanks for your opinions.. Miro.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Call to undefined function: mssql_pconnect()
Hi all.. I'm trying to connect MSSQL2000 Personal Edition from PHP and all I'm getting is "Call to undefined function: mssql_pconnect()" error.. I have installed PHP4.2.2-4, mod_php-4.2.2, php_devel-4.2.2, freetds0.53-4, php-sybase-ct-4.2.2, I think I also have php_ldap and php_imap.. restarted server, still nothing... running it on RedHat 7.3.. Is there anything else I have to do to get it running? Like recompilling PHP or something? If so, how do I do that? Thanks for any help in advance!! Miro. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php