Re: [PHP-WIN] [PHP-NIX] File upload

2004-04-23 Thread Viraj Kalinga Abayarathna
can you send me the fread() part of your script? and what is the OS you are tring this? any how i like to share my coding which I did few weeksback for one of my Windows buddy. Vk. Ragnar wrote: > Hi Vk, > > I tried this beforehand, but to no avail. The documentation > also states that this

Re: [PHP-WIN] [PHP-NIX] File upload

2004-04-22 Thread Viraj Kalinga Abayarathna
are you uploading the file through a HTML form? if so check the FORM for the following hidden input field... increace the above value (in bytes) to a bit more value than your maximum file size you are tring to upload. happy coding... Vk. Ragnar wrote: > Hi guys/gi

Re: [PHP-WIN] Can you receive email with php?

2004-04-19 Thread Viraj Kalinga Abayarathna
Brent, this coding will be a good start if you are developing a POP3 script.. http://forums.devshed.com/archive/t-39649 and http://www.php.net/imap will help you... all the nuts and bolts are there. happy coding. Viraj. Brent wrote: > Hi, just wondering if anyone knows of some plugin or

Re: [PHP-WIN] Web Server Setup helpppp pleaseeee

2004-03-21 Thread Viraj Kalinga Abayarathna
ncluding my self, and > it is very kind of you to provide help, but the win-php list > is not the best place to do this, and should not be either, > unless one want the entire channel to be spammed with such > here requests for help. (Don't unleash the best...) > > -Origi

Re: [PHP-WIN] Web Server Setup helpppp pleaseeee

2004-03-21 Thread Viraj Kalinga Abayarathna
Explain your network environment briefly... like, what is the internet conectivity, IPs, server configuratiions, how many network cards, whether you have a firewall or not then i can help you.. Viraj. Student wrote: > Hi, Ok, lets start from the beginning. We have a new HP server with win 2k

Re: [PHP-WIN] variable passing problem

2004-03-19 Thread Viraj Kalinga Abayarathna
then it says... Notice: Undefined index: fileToUpload in e:\viraj\office\inventory\2.php on line 3 (fileToUpload is the variable name) any suggestions? Viraj. "Svensson, B.A.T. (HKG)" wrote: > > > (on windows: Notice: Undefined variable: fileToUpload in > > e:\viraj\office\inventory\2.ph

[PHP-WIN] variable passing problem

2004-03-19 Thread Viraj Kalinga Abayarathna
Hi all, I have a script to upload a file into MySQL as BLOB. this script works nicely on a LAMP server, but i have to implement it on a Windows2000 server running PHP, Apache and MySQL. -- here goes the "gather.php" content, which allow us to browse for a specific file in the system, and a "Up

[PHP-WIN] RE: [PHP-INST] Windows Install troubles.

2002-06-18 Thread Viraj Kalinga Abayarathna
Hi, You have done some errornous escapings from php in your script. I did some fewer modifications and now script is working. Compare the ?>'s //end escape here for the first if block //start the html content Unable to connect to the database server at this time. //