Re: [PHP] custom tags

2004-07-06 Thread Jason Barnett
Eric Emminger wrote: Hi George, How about this? parse the html as xml and replace the component tags with whatever php/html code output that result to a file include the file from previous step There's actually a PEAR package which can help you with this as well: http://pear.php.net/package/XML_HTM

[PHP] Help with system architecture and planning

2004-07-06 Thread Adrian Teasdale
Hi there Bit of a long one. Sorry about that :) Basically we have been contracted to develop an information portal which will also include free web-based email and a free sitebuilder tool, running standalone independent php-driven websites for this particular vertical market. My concern is that

Re: [PHP] using $$foo_name vs. $foo_name for file upload

2004-07-06 Thread raditha dissanayake
John W. Holmes wrote: Tony wrote: Trying to use the following statement to upload a file via a form, when I use a variable "$foo" in the following statement it works correctly: if (copy($foo, "./$foo_name")) {//blah... } The name of the file I am trying to upload $foo is evaluated correctly. Lik

Re: [PHP] using $$foo_name vs. $foo_name for file upload

2004-07-06 Thread John W. Holmes
Tony wrote: Trying to use the following statement to upload a file via a form, when I use a variable "$foo" in the following statement it works correctly: if (copy($foo, "./$foo_name")) {//blah... } The name of the file I am trying to upload $foo is evaluated correctly. Likewise I can obtain the

Re: [PHP] parse_ini_file VS. constructor with many parameters

2004-07-06 Thread John W. Holmes
Jason Barnett wrote: I have a class definition that has a lot of private properties. These properties don't need to change often, in fact a user could probably just change the values once and forget about most of them. So this makes me think that I should use parse_ini_file and a configuration

[PHP] using $$foo_name vs. $foo_name for file upload

2004-07-06 Thread Tony
Trying to use the following statement to upload a file via a form, when I use a variable "$foo" in the following statement it works correctly: if (copy($foo, "./$foo_name")) {//blah... } The name of the file I am trying to upload $foo is evaluated correctly. Likewise I can obtain the file size, "

[PHP] parse_ini_file VS. constructor with many parameters

2004-07-06 Thread Jason Barnett
I have a class definition that has a lot of private properties. These properties don't need to change often, in fact a user could probably just change the values once and forget about most of them. So this makes me think that I should use parse_ini_file and a configuration file to let users "

RE: [PHP] PHP page memory usage

2004-07-06 Thread Michael Sims
Michael Gale wrote: > Hello, > > Is there a way to monitor or test out how much CPU / memory a php > page uses ? I would like to find out how intensive some of my scripts > are. Don't know about CPU, but you can get memory usage with this function: http://www.php.net/manual/en/function.me

[PHP] PHP page memory usage

2004-07-06 Thread Michael Gale
Hello, Is there a way to monitor or test out how much CPU / memory a php page uses ? I would like to find out how intensive some of my scripts are. Thanks. Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] user tracking

2004-07-06 Thread Andre Dubuc
Hi Chrsitian, If you're looking fro a web or static stats package, IMHO none better than: http://awstats.sourceforge.net/ (I've used other packages, but this is the most flexible.) Hth, Andre On Tuesday 06 July 2004 07:15 am, Christian Calloway wrote: > Hey everybody, > > I am looking for some

[PHP] Re: Sending PHP to different targeted frames

2004-07-06 Thread Jason Barnett
Robert Frame wrote: I've created a web page utilizing 3 frames (header, index, main). In the frame named 'main' I have a form setup for logging into a MySQL database. On a successful login I want to change the html in 'index' and 'main'. The active frame 'main' is easy, as the new html code will g

Re: [PHP] import_request_variables

2004-07-06 Thread David
Dear Philip, Thank you for your suggestions, may I will upgrade my php to newer version for better results. Regards, Kalpin Erlangga Silaen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] import_request_variables

2004-07-06 Thread Philip Olson
> > > I get error : import_request_variables while I make a script to call a > > > variable. > > > > > > This my header (in my script -- error) : > > > > > > import_request_variables( "GPC" ); > > > > > > anybody knows why this happen ? > > > > > > So, what's the exact error PHP gives you? > > > I

Re: [PHP] import_request_variables

2004-07-06 Thread David
Dear Philip, I got this error at browser : Fatal error: Call to undefined function: import_request_variables() in /var/www/html/zm.php on line 21 - Original Message - From: "Philip Olson" <[EMAIL PROTECTED]> To: "Kalpin Erlangga Silaen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent:

Re: [PHP] import_request_variables

2004-07-06 Thread Philip Olson
> I get error : import_request_variables while I make a script to call a > variable. > > This my header (in my script -- error) : > > import_request_variables( "GPC" ); > > anybody knows why this happen ? So, what's the exact error PHP gives you? Regards, Philip -- PHP General Mailing List

[PHP] import_request_variables

2004-07-06 Thread Kalpin Erlangga Silaen
Dear all, I get error : import_request_variables while I make a script to call a variable. This my header (in my script -- error) : import_request_variables( "GPC" ); anybody knows why this happen ? Regards, Kalpin Erlangga S -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] Sending PHP to different targeted frames

2004-07-06 Thread Robert Frame
I've created a web page utilizing 3 frames (header, index, main). In the frame named 'main' I have a form setup for logging into a MySQL database. On a successful login I want to change the html in 'index' and 'main'. The active frame 'main' is easy, as the new html code will go into this window b

Re: [PHP] Dynamic var

2004-07-06 Thread Curt Zirzow
* Thus wrote Pierre: > Hi all > I've a little problem with creating a dynamic var. > This is my line code : > $erreur .='Le champs '.${'corresp_chps[\''.$champs.'\']'}.''; You're making it more complicated that it needs to be: $erreur .= 'Le champs '. $corresp_chps[$champs] .''; Curt -- Firs

Re: [PHP] custom tags

2004-07-06 Thread raditha dissanayake
Eric Emminger wrote: Hi George, How about this? parse the html as xml and replace the component tags with whatever php/html code output that result to a file include the file from previous step That's a good suggestions but problems arise because HTML does not have to be well formed. There is

Re: [PHP] MySql DB access upon browser close

2004-07-06 Thread Eric Emminger
Hi Frank, I think you could use window.location="test.php?time=xxx" in the onUnload instead of opening a new window. Eric On Mon, 5 Jul 2004 14:08:14 -0400, Frank Voorburg <[EMAIL PROTECTED]> wrote: > Hi, > > Any help with the following is appreciated. I want to use php to store the > time t

Re: [PHP] custom tags

2004-07-06 Thread Eric Emminger
Hi George, How about this? parse the html as xml and replace the component tags with whatever php/html code output that result to a file include the file from previous step Eric On Tue, 6 Jul 2004 15:56:26 -0500, George Lantz <[EMAIL PROTECTED]> wrote: > I am looking for a way to parse custom h

[PHP] Recompile PHP to install new diictionary for Pspell?!?

2004-07-06 Thread Maarten Winkels
Hi, I'm trying to convince my host to install the dutch dictionary for Pspell? Do you need to recompile PHP after installing a new dictionary unders Pspell? My host doesn't want to recompile PHP... Thanks! -Maarten Winkels -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: Re[2]: [PHP] Re: Form Submission

2004-07-06 Thread Curt Zirzow
* Thus wrote Torsten Roehr: > > > > > > How do you check which button was pressed (read: which action should be > > > performed) when not relying on this? > > > > > > > The button is generally *not* sent by the browser if you hit enter > > instead of submit. This *will* happen, so you have to deal

Re: [PHP] Beginners question... (I think)

2004-07-06 Thread Marek Kilimajer
Koyaan wrote: Unfortunately I'm not well informed about php and everything that comes with it. My site is created by someone who is totally out of the picture at ther moment and I have a problem On my site it was possible to create "aktueeltjes" (newsflashes) and add them on the "aktueeltjes" part

Re: [PHP] Recent numbers on PHP Market Penetration?

2004-07-06 Thread Bert Slagter
Christophe Chisogne wrote: It seems you didnt search Google very long. I did, actually :). Simple google searches like "number of sites running php site:netcraft.com" lead to results on netcraft.com, by example a "php vs coldfusion vs jsp" page [1] found via link on the 2003/08 netcraft survey [2]

Re: [PHP] images outside of document root

2004-07-06 Thread Keith Greene
I use a system like that described below, however I added some checks to thwart attack. first, the image serving script checks to make sure the user has a session id. This prevents people just loading the script to get the images, and also deters hot linking. second, I have a script that runs on

[PHP] custom tags

2004-07-06 Thread George Lantz
I am looking for a way to parse custom html tags. I would like to then replace those tags with php/html code. Here is an example of the html file to be parsed. Notice the "component", they are the custom tags I wish to replace with code. I only need help in parsing the tags and storing in a variabl

Re: Re[2]: [PHP] Re: Form Submission

2004-07-06 Thread Justin Patrin
On Tue, 6 Jul 2004 21:19:35 +0200, Torsten Roehr <[EMAIL PROTECTED]> wrote: > "Justin Patrin" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > On Tue, 6 Jul 2004 18:15:17 +0200, Torsten Roehr <[EMAIL PROTECTED]> > wrote: > > > "Richard Davey" <[EMAIL PROTECTED]> wrote in message >

Re: [PHP] user tracking

2004-07-06 Thread Matthew Sims
>> I am looking for some type of user tracking/stat collecting package. I >> am sure there's a million; any recommendations? We have some specific >> needs as well, so mostly likely I will be have to make some code >> changes. So the simpler package the better. > > You don't mention any of the spe

Re: [PHP] images outside of document root

2004-07-06 Thread Dennis Gearon
I may do that, but the 'showimage.php' file then has to be in the document root, and can be attacked a LOT. I have found ways to do inline images, without javascript, I believe. Curt Zirzow <[EMAIL PROTECTED]> wrote: * Thus wrote Dennis Gearon: I want to keep an entire library OUTSIDE of the docu

Re: [PHP] user tracking

2004-07-06 Thread Christian Calloway
I've been writing LAMP applications for awhile; the option to write a tracking system myself is always viable.. but since I am extraordinarily lazy, I am looking for a general package that I could modify. What I really wanted was anyone's feedback or recommendations on tracking packages currently a

Re: [PHP] user tracking

2004-07-06 Thread Michal Migurski
> I am looking for some type of user tracking/stat collecting package. I > am sure there's a million; any recommendations? We have some specific > needs as well, so mostly likely I will be have to make some code > changes. So the simpler package the better. You don't mention any of the specific ne

Re: [PHP] Re: Two Sites - One Backend

2004-07-06 Thread Marek Kilimajer
Shaun wrote: Hi Gerben, Thanks for your reply, the site will be on one server - the idea is that there will be two domain names pointing to the server: http://www.domain_x.com/ and http://www.domain_y.com/. Both of these domains will have a very different interface comprised of header.php, footer.p

Re: [PHP] user tracking

2004-07-06 Thread Michael Gale
What type of tracking ? ... number of hits ? pages visited by # of times ?? If you use sessions ... which I am assuming you are. You could create a table: user-id,page,times Then when you do the session check you could update: INSET INTO webwatch_table SET user-id='" . $_SESSSION['userid'] . "

[PHP] Re: PHP 4.3.7 update - how to

2004-07-06 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Alan McDonald wrote: > > > I've downloaded the 4.3.7 tar ball and extractted it. I've run configure > > > (after deleting the cache), no errors. I've run make - no errors, I've > then > > > run make install.. no errors, it says it's updating and installing. > > > Now I've restarted my httpd servic

Re: Re[2]: [PHP] Re: Form Submission

2004-07-06 Thread Torsten Roehr
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, 6 Jul 2004 18:15:17 +0200, Torsten Roehr <[EMAIL PROTECTED]> wrote: > > "Richard Davey" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > Hello Jason, > > > > > > Tuesday, July 6, 2004, 2:37:08

Re: [PHP] user tracking

2004-07-06 Thread Stephen Craton
Try searching www.hotscripts.com, they have a lot of good scripts there... On Tue, 2004-07-06 at 06:15, Christian Calloway wrote: > Hey everybody, > > I am looking for some type of user tracking/stat collecting package. I am > sure there's a million; any recommendations? We have some specific nee

Re: Re[2]: [PHP] Re: Form Submission

2004-07-06 Thread Justin Patrin
On Tue, 6 Jul 2004 18:15:17 +0200, Torsten Roehr <[EMAIL PROTECTED]> wrote: > "Richard Davey" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hello Jason, > > > > Tuesday, July 6, 2004, 2:37:08 PM, you wrote: > > > > JW> It might not be a good idea to rely on the "submit" button t

Re: [PHP] file locking over NFS?

2004-07-06 Thread Manuel Lemos
Hello, On 07/06/2004 12:56 PM, Kyle wrote: Hi Manuel, Do you mean I can just use flock over NFS ? It depends. You need to check whether the NFS server that you use supports it. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Re

[PHP] Re: Two Sites - One Backend

2004-07-06 Thread Shaun
Hi Gerben, Thanks for your reply, the site will be on one server - the idea is that there will be two domain names pointing to the server: http://www.domain_x.com/ and http://www.domain_y.com/. Both of these domains will have a very different interface comprised of header.php, footer.php and a CSS

[PHP] Re: Database Driven Links

2004-07-06 Thread Gerben
I think the function eval is what you are looking for. http://php.net/eval "Shaun" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I am modifying my site so that links for each page are held in a database to > make my site more portable. However if I have link such as > edit

[PHP] Re: Two Sites - One Backend

2004-07-06 Thread Gerben
Are you using 2 different servers or just one? if only one then how would URL X and URL Y look? Since X and Y will refer to a different file, my suggestion is to change the include('X-header') to inlcude('Y-header') in the Y version. Some more info whould be nice "Shaun" <[EMAIL PROTECTED]> wrote

[PHP] Database Driven Links

2004-07-06 Thread Shaun
Hi, I am modifying my site so that links for each page are held in a database to make my site more portable. However if I have link such as edit_user.php?user_id=$_GET[user_id] stored in the database will the $_GET variable get processed and the appropriate value returned to the browser? Thanks f

[PHP] user tracking

2004-07-06 Thread Christian Calloway
Hey everybody, I am looking for some type of user tracking/stat collecting package. I am sure there's a million; any recommendations? We have some specific needs as well, so mostly likely I will be have to make some code changes. So the simpler package the better. Christian -- PHP General Maili

Re: Re[2]: [PHP] Re: Form Submission

2004-07-06 Thread Torsten Roehr
"Richard Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Jason, > > Tuesday, July 6, 2004, 2:37:08 PM, you wrote: > > JW> It might not be a good idea to rely on the "submit" button to be set. Some > JW> browsers do not set/send it if you didn't explicitly click on the "su

[PHP] Two Sites - One Backend

2004-07-06 Thread Shaun
Hi, I have created an online scheduling system using PHP and MySQL. The site is uses CSS for the presentation and each page uses a header and footer file so that only core functionality is contained in each page. I now need to create another site which runs using the same database and function fil

[PHP] Beginners question... (I think)

2004-07-06 Thread Koyaan
Unfortunately I'm not well informed about php and everything that comes with it. My site is created by someone who is totally out of the picture at ther moment and I have a problem On my site it was possible to create "aktueeltjes" (newsflashes) and add them on the "aktueeltjes" part of my site I l

Re: [PHP] file locking over NFS?

2004-07-06 Thread kyle
Hi Manuel, Do you mean I can just use flock over NFS ? "Manuel Lemos" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > On 07/06/2004 05:25 AM, Kyle wrote: > > I found this from php function list manual: > > "flock() will not work on NFS and many other networked file system

Re[2]: [PHP] Re: Form Submission

2004-07-06 Thread Richard Davey
Hello Jason, Tuesday, July 6, 2004, 2:37:08 PM, you wrote: JW> It might not be a good idea to rely on the "submit" button to be set. Some JW> browsers do not set/send it if you didn't explicitly click on the "submit" JW> button. I would use: Absolutely. If you hit ENTER to submit a form (rather

Re: [PHP] PHP Web Mail

2004-07-06 Thread raditha dissanayake
Christophe Chisogne wrote: raditha dissanayake a écrit : at the risk of starting a flame war: IMAP is the devine way of using email. POP3 sux. :-) IMAP being a general file access protocol, there are inherent security problems to be aware of. On some srv, you could easily get /etc/passwd by simpl

Re: [PHP] Recent numbers on PHP Market Penetration?

2004-07-06 Thread Christophe Chisogne
Bert Slagter a écrit : I'm looking for recent numbers of the PHP Market Penetration - if possible compared to ASP/JSP. The netcraft survey only shows apache vs. IIS, can't find anything about PHP there. It seems you didnt search Google very long. Simple google searches like "number of sites runni

[PHP] Dynamic var

2004-07-06 Thread Pierre
Hi all I've a little problem with creating a dynamic var. This is my line code : $erreur .='Le champs '.${'corresp_chps[\''.$champs.'\']'}.''; Yes i need the quote, cause it's not my var but a webservice one and the name var is 001 so i've indexed my array with '001' etc..; Thx a lot And this is

Re: [PHP] Form Submission

2004-07-06 Thread Marek Kilimajer
Shaun wrote: Hi, How can I check if a form has been submitted, I have seen a demo that uses the following: if(isset($HTTP_POST_VARS)) But I understand that $HTTP_POST_VARS is depricated... Depricated or backward compatible, depends on your view. The "hot new way" is to use $_POST superglobal array

Re: [PHP] Want to save png to file

2004-07-06 Thread Jason Wong
On Tuesday 06 July 2004 19:48, Victor Spång Arthursson wrote: > Creating a transparent png using GD and PHP is (almost) no problem, but > it's impossible to save… Here you say it's impossible to save, but then further down you contradict this by saying that you did manage to save it - only the t

Re: [PHP] fopen newbie question

2004-07-06 Thread Josh Close
Can you post your code so we can see what might be going on? -Josh On Mon, 5 Jul 2004 13:06:58 -0400, Joe Carey <[EMAIL PROTECTED]> wrote: > I'm trying to read a text file from one server from another. When I read > from server A to B it works fine and I get the text output that I'm looking > f

Re: [PHP] Re: Form Submission

2004-07-06 Thread Torsten Roehr
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tuesday 06 July 2004 17:50, Torsten Roehr wrote: > > > > How can I check if a form has been submitted, I have seen a demo that > > > uses the following: > > > > > > if(isset($HTTP_POST_VARS)) > > > > > > But I understand

Re: [PHP] Re: Form Submission

2004-07-06 Thread Jason Wong
On Tuesday 06 July 2004 17:50, Torsten Roehr wrote: > > How can I check if a form has been submitted, I have seen a demo that > > uses the following: > > > > if(isset($HTTP_POST_VARS)) > > > > But I understand that $HTTP_POST_VARS is depricated... > > > > Thanks for your help > > Check the $_POST

Re: [PHP] PHP Web Mail

2004-07-06 Thread raditha dissanayake
Justin Patrin wrote: On Mon, 5 Jul 2004 13:01:08 -0400, John Hicks <[EMAIL PROTECTED]> wrote: On Monday 05 July 2004 07:33 am, I.A. Gray wrote: Thanks- looked at Squirrel Mail. Looks really good, however we use POP3- I don't think Squirrel Mail uses POP3 does it? Most if not all web

Re: [PHP] file upload and permission problem.

2004-07-06 Thread raditha dissanayake
Angelo binc2 wrote: So if it is a windows box, how would I set the permissions? or is the permissions of the person who is logged into the machine? That's not a PHP question! and i know very little about windows but I can tell you that you can do it by right clicking on a folder and selecting

[PHP] Recent numbers on PHP Market Penetration?

2004-07-06 Thread Bert Slagter
Good afternoon, I'm looking for recent numbers of the PHP Market Penetration - if possible compared to ASP/JSP. The netcraft survey only shows apache vs. IIS, can't find anything about PHP there. Thanks! Bert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] PHP Web Mail

2004-07-06 Thread Christophe Chisogne
raditha dissanayake a écrit : at the risk of starting a flame war: IMAP is the devine way of using email. POP3 sux. :-) IMAP being a general file access protocol, there are inherent security problems to be aware of. On some srv, you could easily get /etc/passwd by simply knowing a single user/pass

RE: [PHP] File Created Date?

2004-07-06 Thread Jay Blanchard
[snip] Is there a way to get the timestamp when a file was CREATED? Looking at stat I can find the modified date, last accessed and changed - but not the created date. There doesn't appear to be a Filesystem function for it either. I'm sure it's obvious, but it is alluding me for now. [/snip] The

Re: [PHP] File Created Date?

2004-07-06 Thread zareef ahmed
Hi. [quote from php manual ] In some Unix texts the ctime of a file is referred to as being the creation time of the file. This is wrong. There is no creation time for Unix files in most Unix filesystems. [/quote from php manual] http://in2.php.net/filectime zareef ahmed --- Richard Davey <[EMA

Re: [PHP] File Created Date?

2004-07-06 Thread zareef ahmed
Hi. [quote from php manual ] In some Unix texts the ctime of a file is referred to as being the creation time of the file. This is wrong. There is no creation time for Unix files in most Unix filesystems. [/quote from php manual] http://in2.php.net/filectime zareef ahmed --- Richard Davey <[EMA

[PHP] Want to save png to file

2004-07-06 Thread Victor Spång Arthursson
Hi! Creating a transparent png using GD and PHP is (almost) no problem, but it's impossible to save… No matter what I try, the saved image wont remember that it's transparent. I suspect the reason it works "on the fly" is because I manually set the header to image/png, but if I try so save the

[PHP] File Created Date?

2004-07-06 Thread Richard Davey
Hi, Is there a way to get the timestamp when a file was CREATED? Looking at stat I can find the modified date, last accessed and changed - but not the created date. There doesn't appear to be a Filesystem function for it either. I'm sure it's obvious, but it is alluding me for now. Best regards,

[PHP] Re: Form Submission

2004-07-06 Thread Torsten Roehr
"Shaun" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > How can I check if a form has been submitted, I have seen a demo that uses > the following: > > if(isset($HTTP_POST_VARS)) > > But I understand that $HTTP_POST_VARS is depricated... > > Thanks for your help Check the $_P

[PHP] Form Submission

2004-07-06 Thread Shaun
Hi, How can I check if a form has been submitted, I have seen a demo that uses the following: if(isset($HTTP_POST_VARS)) But I understand that $HTTP_POST_VARS is depricated... Thanks for your help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

[PHP] Re: E-bay API and PHP

2004-07-06 Thread Manuel Lemos
Hello, On 07/06/2004 04:31 AM, Zareef Ahmed wrote: Hi, How can we communicate to E-bay API through PHP? is it possible? or any alternative to E-bay API? Basically I am going to develop a application with E-bay functionality like Product Management, Auction Mangement, and Digital Product delievey

Re: [PHP] file locking over NFS?

2004-07-06 Thread Manuel Lemos
Hello, On 07/06/2004 05:25 AM, Kyle wrote: I found this from php function list manual: "flock() will not work on NFS and many other networked file systems. Check your operating system documentation for more details." I wish flock can do NFS file locking, but offical manual says no to This is not ac

Re: [PHP] file locking over NFS?

2004-07-06 Thread kyle
I found this from php function list manual: "flock() will not work on NFS and many other networked file systems. Check your operating system documentation for more details." I wish flock can do NFS file locking, but offical manual says no to "Brent Clark" <[EMAIL PROTECTED]> wrote in message news

Re: [PHP] file upload and permission problem.

2004-07-06 Thread Angelo binc2
So if it is a windows box, how would I set the permissions? or is the permissions of the person who is logged into the machine? Thanks In advance >>> raditha dissanayake <[EMAIL PROTECTED]> 7/5/2004 4:08:41 PM >>> Angelo binc2 wrote: >Hi all I am trying to upload a file using PHP. > >I can succe

Re: [PHP] file locking over NFS?

2004-07-06 Thread kyle
Thanks a lot , your information is really useful for me. "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > kyle wrote: > > Hi all, > > > > Is there any simple, safe, and efficiency way to do file locking over NFS? > > > > Thanks. > > > > You can mysql locks (maybe it

Re: [PHP] E-bay API and PHP

2004-07-06 Thread Brent Clements
Sign up for the ebay developers program and they give you access to their api plus instructions on how to implement. You will also have access to a sandbox environment to test your code. Be aware that once you move past the sandbox environment, access to the ebay api is charged based on the number

[PHP] E-bay API and PHP

2004-07-06 Thread zareef ahmed
Hi, How can we communicate to E-bay API through PHP? is it possible? or any alternative to E-bay API? Basically I am going to develop a application with E-bay functionality like Product Management, Auction Mangement, and Digital Product delievey. any info as usual will be appriciated. zareef

[PHP] MySql DB access upon browser close

2004-07-06 Thread Frank Voorburg
Hi, Any help with the following is appreciated. I want to use php to store the time that a user spent on 1 particular webpage in a mysql database. What I'm trying to do now is: 1) using Javascript's OnLoad event I read out the time when the user 1st opens the webpage 2) using Javascript's OnUnLoa

Re: [PHP] images outside of document root

2004-07-06 Thread Curt Zirzow
* Thus wrote Dennis Gearon: > I want to keep an entire library OUTSIDE of the document root. The library > includes some imgages. How can I have the browser include the imageges? > > I've hard of BASE64'ing the images into the header and decoding them using > javascript. Is this the best way? Wh