[PHP] Re: How to schedule a run for a php script.

2002-09-17 Thread Henry
Sorry this is late, If you do not have PHP compiled for command line use then use crontabs and wget. There are security issues, but some checks like the browser and IP address can be used to protect yourself a bit. HTH Henry Yc Nyon [EMAIL PROTECTED] wrote in message

[PHP] COOKIE Question.

2002-09-17 Thread Tom Ray
I'm having some issue's with $_COOKIE and $HTTP_COOKIE_VARS, I can't seem to retrieve data from them. First I set the cookie like so: setcookie (Access, Test_Value,time()+31536000); Then I check my Cookies in Netscape and I can see that I have the cookie stored. But when I go to the page that

Re: [PHP] COOKIE Question.

2002-09-17 Thread Leif K-Brooks
First of all, the second try should be print $_COOKIE[Access]; with no second $. But, more importantly, I would reccomend you change the cookie name to access. This may not be the problem, but case in names seems to generally cause problems. Tom Ray wrote: I'm having some issue's with

[PHP] Re: COOKIE Question.

2002-09-17 Thread Erwin
First I set the cookie like so: setcookie (Access, Test_Value,time()+31536000); Then I check my Cookies in Netscape and I can see that I have the cookie stored. But when I go to the page that has print $HTTP_COOKIE_VARS[Access]; print $_COOKIE[$Access]; and even print $Access; What

Re: [PHP] COOKIE Question.

2002-09-17 Thread Tom Ray
I do the print $_COOKIE[Acccess]; and I still don't see any data print. Leif K-Brooks wrote: First of all, the second try should be print $_COOKIE[Access]; with no second $. But, more importantly, I would reccomend you change the cookie name to access. This may not be the problem, but

[PHP] How to choose a crypt-standard in crypt()?

2002-09-17 Thread Uwe Birkenhain
Hi, is it possible to tell php which crypting it should use in crypt()? My problem: The program is running on a linux-server (of course) and there is DES available and MD5; crypt() uses MD5. At home I'm developing on a win98 machine and there seems only DES to be available. Of course it would

[PHP] REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix.

2002-09-17 Thread Jason Caldwell
I'm posting this here to give this BUG attention. It's a pretty serious one for Win32 users, and it would be great if it could be fixed *very quickly* -- I posted this in the Bug Reports on PHP.net on May 27th, 2002. Here's the link: http://bugs.php.net/bug.php?id=17461 I need to use this

[PHP] Re: How to choose a crypt-standard in crypt()?

2002-09-17 Thread Erwin
Uwe Birkenhain wrote: Hi, is it possible to tell php which crypting it should use in crypt()? My problem: The program is running on a linux-server (of course) and there is DES available and MD5; crypt() uses MD5. At home I'm developing on a win98 machine and there seems only DES to be

RE: [PHP] jpeg thumbnail errors

2002-09-17 Thread Michael Egan
Warwick, There are different ways of compiling PHP which will determine which elements it can support. The first error you report shows that the particular build of PHP being used hasn't been compiled to create images from JPEGS. The remaining errors flow on from this as no image has been

Re: [PHP] Problem with REMOTE_ADDR

2002-09-17 Thread Krzysztof Dziekiewicz
Whenever I use REMOTE_ADDR, it gives me the IP of the server. Of course, I am not interested in this and want the IP of the client. I put this code in to resolve it and it still didnt work. What am I doing wrong? Try HTTP_CLIENT_IP. It is set in some situations. -- PHP General Mailing

Re: [PHP] COOKIE Question.

2002-09-17 Thread Krzysztof Dziekiewicz
I'm having some issue's with $_COOKIE and $HTTP_COOKIE_VARS, I can't seem to retrieve data from them. First I set the cookie like so: setcookie (Access, Test_Value,time()+31536000); Try this: setcookie(Access, Test_Value,time()+31536000,/); - slash as 4th parametr. -- Krzysztof

RE: [PHP] adding text to variables

2002-09-17 Thread Ford, Mike [LSS]
-Original Message- From: Jason [mailto:[EMAIL PROTECTED]] Sent: 16 September 2002 20:44 I'm using PHP, MySql, DreamweaverMX, and PHAkt 2. I want to add a comma ( , ) to the end of a variable, but only if it exists in the database. (Meaning I don't want a comma with no

[PHP] Re: Creating Images (.GIF) with PHP from Text?

2002-09-17 Thread Paonarong Buachaiyo
Jason Caldwell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... How can I create a dynamic image with PHP? Here's what I want to do; I have a counter (kinda) on my website.. and this counter appears in a certain font -- which most computer systems will not have on their systems.

php-general Digest 17 Sep 2002 09:43:56 -0000 Issue 1590

2002-09-17 Thread php-general-digest-help
php-general Digest 17 Sep 2002 09:43:56 - Issue 1590 Topics (messages 116569 through 116608): global vs. per-site php.ini settings 116569 by: Tomasz Orzechowski Re: Problem with REMOTE_ADDR 116570 by: Leif K-Brooks 116573 by: Kevin S. Dome 116574 by: Kevin

Re: [PHP] can you get the name of an object from within it's ownclass?

2002-09-17 Thread Marek Kilimajer
It's not possible, imagine $firstname = new flashPash(); $secondname = $firstname; Now is the log name secondname.log or firstname.log. Use new property. Simon McKenna wrote: Hi all, I'm new to the php world and have just finished building my first class, It works pretty well, but i've run

[PHP] How to send gzip content

2002-09-17 Thread Heiko Mundle
Hi, this question is not about compressing HTML content, but SVG or VRML! i want to compress the entire output with gzip before sending it to the client. I found the function ob_start('ob_gzhandler') but this seems to compress only in special cases. (Actually I don't see if the content is

Re: [PHP] RE: What unzip program to use?

2002-09-17 Thread Marek Kilimajer
Don't think windowed version will work, but try to get some new 32-bit command line version that understands long filenames. YC Nyon wrote: My application lets users to upload a zip file into the server. Once done, i will use php execute function to run a command line to unzip the uploaded

Re: [PHP] can you get the name of an object from within it's own class?

2002-09-17 Thread lallous
even more... what if I create $c1 as a global instance and then $c1 as a local instance (inside a function) ? won't c1.log overwrite c1.log ? Elias Marek Kilimajer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... It's not possible, imagine $firstname = new

RE: [PHP] can you get the name of an object from within it's own class?

2002-09-17 Thread Will Steffen
Hehe why break your brain- give the class an id property - then you can have a getid method and do something like this $id = $this-getid(); $this-fpLog = fopen($id.log,w+); get_object_vars only seems to return properties so its not gonna help you. I'm currently working on an object thang as

RE: [PHP] jpeg thumbnail errors

2002-09-17 Thread Tony Earnshaw
tir, 2002-09-17 kl. 09:53 skrev Michael Egan: You would need to recompile PHP so that such support is offered - no mean feat from my own experiences. I gave up :-( What's your exact problem, Michael? I'm so new to PHP4 (done nothing at all with PHP for the last 3-4 years, now I need to),

[PHP] class Problem

2002-09-17 Thread David Eggler
I create a Instance fo the Class MenueItem in Menue. I change the value of one of its variables. But when i call the function within MenueItem there seems not to be a value: The intresting thing is it works with Other variables, even i cant echo them, they have a value Thanks for help

RE: [PHP] jpeg thumbnail errors

2002-09-17 Thread Michael Egan
Tony, When I first began dabbling with PHP a year or more ago I did try to reconfigure PHP to gain support for PDF files. I was using SUSE 7.0 at the time. I was determined to get to grips with configuring packages such as PHP, Apache and MySQL but I seemed to run into one problem after

[PHP] Re: class Problem

2002-09-17 Thread lallous
Hi, when you want to access class member variables prefix them with $this- , otherwise they will be treated as local vars. hope that helps. Elias David Eggler [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I create a Instance fo the Class MenueItem in Menue.

Re: [PHP] class Problem

2002-09-17 Thread Scott Houseman
Hi there. Try doing it this way: You need to access the class's variable using the $this identifier e.g. class MenueItem { var $ID_Menue; var $Name; var $Parent_ID; var $Next_ID; var $Prev_ID; function Write() { echo Parent_ID:

RE: [PHP] Illegal characters in HTML form element names.

2002-09-17 Thread Ford, Mike [LSS]
-Original Message- From: Jared Williams [mailto:[EMAIL PROTECTED]] Sent: 11 September 2002 14:03 To: [EMAIL PROTECTED] Subject: [PHP] Illegal characters in HTML form element names. Hi, The HTML standard defines the set of characters that are valid in form element names.

RE: [PHP] REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix.

2002-09-17 Thread John Holmes
I'm not sure if that's a bug, it's more of a feature request. ---John Holmes... -Original Message- From: Jason Caldwell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 3:24 AM To: [EMAIL PROTECTED] Subject: [PHP] REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix. I'm

RE: [PHP] COOKIE Question.

2002-09-17 Thread John Holmes
I do the print $_COOKIE[Acccess]; and I still don't see any data print. Did you typo in your code like you did here?? Try to dump the whole $_COOKIE[] array and see what's in it. print_r($_COOKIE); Did you mention what version of PHP you were using? ---John Holmes... -- PHP General

RE: [PHP] Illegal characters in HTML form element names.

2002-09-17 Thread Jared Williams
Hmm http://www.w3.org/TR/html4/types.html#type-name 'ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens (-), underscores (_), colons (:), and periods (.).' Seems to me, the rules for valid IDs NAMEs are the same...

RE: [PHP] REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix.

2002-09-17 Thread Mark Charette
Hey, Jason, since you really need this BUG fixed, and the PHP developers would welcome good, well-documented, and tested code ... Why not devote some of your precious time to helping them along? If _you_ write, document, and test the code, and then pass the code to the development team you'll

[PHP] Re: error: loading extensions / php_xslt.dll on win32

2002-09-17 Thread Marco Siegl
hi horst, i think your're problem is that you'll need to get the new libexpat.dll provided from james clark. visit http://sourceforge.net/projects/expat/ to get the latest expat v1.95.5 (which includes the new libexpat.dll - the older version was called: expat.dll, provided with expat v1.95.2)

[PHP] UCD-SNMP 4.2.5 and PHP-SNMP

2002-09-17 Thread Brian E. Seppanen
I have an application that uses php's snmp support to gather some information. I run several servers that are using this application and all of the servers are running redhat-7.2. In redhat 7.2 the OS initially ships with ucd-snmp-4.2.1-7.i386.rpm. This works fine with my applications.

[PHP] mail() question

2002-09-17 Thread Meltem Demirkus
Hi, I am trying to send an email by using the function mail(). Although I use in a form of mail($to, $subject, $message, $headers), it is giving this error: Failed to Connect So I think I am missing something ... Can anybody help me ?.. thanks alot meltem demirkus -- PHP General Mailing

Re: [PHP] mail() question

2002-09-17 Thread John Wards
Meltem What is you system set up? OS etc? Cheers John Wards SportNetwork.net - Original Message - From: Meltem Demirkus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 2:35 PM Subject: [PHP] mail() question Hi, I am trying to send an email by using the

Re: [PHP] mail() question

2002-09-17 Thread Meltem Demirkus
windows 2000 by the way my whole code is this: ? $msg = Sender Name:\t$_POST[sender_name]\n; $msg .= Sender E-Mail:\t$_POST[sender_email]\n; $msg .= Message:\t$_POST[message]\n\n; $recipient = mailto:[EMAIL PROTECTED]; $subject = Web Site Feedback; $mailheaders = From: My Web Site \n;

Re: [PHP] mail() question

2002-09-17 Thread John Wards
Have you set up you php.ini file correctly? You need to set up your SMTP settings and your sendmail_from settings John - Original Message - From: Meltem Demirkus [EMAIL PROTECTED] To: John Wards [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 2:43 PM Subject:

Re: [PHP] mail() question

2002-09-17 Thread John Wards
You need to edit you php.ini file Depending on you instlation it should be fount in either c:\windows\php.ini or c:\winnt\php.ini If it is not search for php.ini Then edit the values: [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = [EMAIL PROTECTED] Your

[PHP] Test

2002-09-17 Thread Tom Ray
Test message -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail() question

2002-09-17 Thread John Wards
is that definatly your SMTP mail connection? I notice that you are using outlook. Do this to make sure: Click tools(in outlook) then Accounts the click on your default acount the click properties. CLick the server tab then note down the value in the Out going mail server box and use this in

[PHP] Re: Test

2002-09-17 Thread nicos
It looks it worked, but php.tests is there for that. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Tom Ray [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Test message -- PHP General Mailing List (http://www.php.net/)

[PHP] stripslahes() | Common pitfalls?

2002-09-17 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm using cookies to pre fill a form and, I can't work out why I can't get the stripslashes() function to work? Are there any common pitfalls you can think of, I've tried just about everything... - -- Nick Wilson // www.tioka.com

[PHP] stopping repeated posts to a Bulletin Board

2002-09-17 Thread Resarch and Development
What is the best way to avoid the repeated comment/post syndrome caused by the user clicking the submit button one too many times because he/she did not wait for the browser to return a confirmation page or the script took too long to execute. Thanks in advance -- PHP General Mailing List

RE: [PHP] stopping repeated posts to a Bulletin Board

2002-09-17 Thread Jon Haworth
Hi, What is the best way to avoid the repeated comment/post syndrome caused by the user clicking the submit button one too many times The canonical way is to attach a token to the form (a random number will usually do) and insert that into the table along with the comment/post, after

Re: [PHP] stopping repeated posts to a Bulletin Board

2002-09-17 Thread John Wards
Use some javascritp to blank out the submit button when its clicked. is a quick and easyway. Also try storing the sent data in sessions and compairing any new data sent to the previous data. John Wards SportNetwork.net - Original Message - From: Resarch and Development [EMAIL PROTECTED]

RE: [PHP] stopping repeated posts to a Bulletin Board

2002-09-17 Thread John Holmes
What is the best way to avoid the repeated comment/post syndrome caused by the user clicking the submit button one too many times because he/she did not wait for the browser to return a confirmation page or the script took too long to execute. Along with the other suggestions, You can use

RE: [PHP] stripslahes() | Common pitfalls?

2002-09-17 Thread John Holmes
I'm using cookies to pre fill a form and, I can't work out why I can't get the stripslashes() function to work? Are there any common pitfalls you can think of, I've tried just about everything... Show some code. What's the actual value of the cookie before you stripslashes() it? I'll

[PHP] Re: alphabetical order?

2002-09-17 Thread Chad Winger
Hello Rudolf, Thank you for responding to my post, I really appreciate it. I ran the script you sent me, and then I tried looking up the syntax to try to figure out what it means. As it would be pointless for me just to take suggestions that people send me and then not learn what they mean. The

Re: [PHP] stripslahes() | Common pitfalls?

2002-09-17 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then John Holmes declared Show some code. What's the actual value of the cookie before you stripslashes() it? Well, that got me on the right track ;-) Now I do this: setcookie('val', stripslashes($_POST['val']); and all is cool! Thanks

RE: [PHP] Illegal characters in HTML form element names.

2002-09-17 Thread Ford, Mike [LSS]
-Original Message- From: Jared Williams [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 13:20 Hmm http://www.w3.org/TR/html4/types.html#type-name 'ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens

Re: [PHP] stopping repeated posts to a Bulletin Board

2002-09-17 Thread Justin French
The page that actually validates the user input and inserts into the database shouldn't actually be a page that gets sent to the browser -- it should be a script with no output, which then redirects to a thanks page. That way there is no chance of the user hitting refresh and double posting...

[PHP] imagettftext function does not handle combining character properly

2002-09-17 Thread Ziying Sherwin
We installed php 4.2.2 with freetype 1.3.1 on our solaris 2.8 machine. We are using function imagettftext to convert UTF8 string to image file for Internet display. However, it seems that this function does not handle the combining characters properly. For instance, the sequence of unicode

Re: [PHP] imagettftext function does not handle combining characterproperly

2002-09-17 Thread Rasmus Lerdorf
That's done in Freetype. First thing I would try would be upgrading to GD2/Freetype2 and see if it is handled better with that combination. -Rasmus On Tue, 17 Sep 2002, Ziying Sherwin wrote: We installed php 4.2.2 with freetype 1.3.1 on our solaris 2.8 machine. We are using function

[PHP] Redirecting - header location - sometimes not work

2002-09-17 Thread jana konickova
I have the php script with the command Header(Location: https://$SERVER_NAME$path;); which redirect from the script file1.php to the script file2.php. If I fill the form in the www page file1.php and click the Submit button, the script file1.php save the information to database and then redirect

Re: [PHP] stopping repeated posts to a Bulletin Board

2002-09-17 Thread Heilig (Cece) Szabolcs
On 2002. szeptember 17. 15:52, Resarch and Development wrote: What is the best way to avoid the repeated comment/post syndrome caused by the user clicking the submit button one too many times because he/she did not wait for the browser to return a confirmation page or the script took too long

Re: [PHP] REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix.

2002-09-17 Thread Jason Caldwell
It's a bug. spoke to Rasmus at some length about just before i posted it in the bug report. The online help page is inaccurate in describing the full functionality of the function: http://www.php.net/manual/en/function.register-shutdown-function.php REGISTER_SHUTDOWN_FUNCTION() is suppose to

[PHP] new PHP chat room (with Flash interface)

2002-09-17 Thread Darren Gates
here's a chat room that I made in PHP/MySQL with a Flash 5 front-end. All the other PHP chat rooms that I've found have an annoying click every few seconds when the webpage is refreshed. http://www.tufat.com/chat/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] new PHP chat room (with Flash interface)

2002-09-17 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Darren Gates declared here's a chat room that I made in PHP/MySQL with a Flash 5 front-end. All the other PHP chat rooms that I've found have an annoying click every few seconds when the webpage is refreshed.

[PHP] Re: A problem with Sessions: Developing and App inside PostNuke

2002-09-17 Thread Thomas Goeminne
I also use the phpnuke. But I am gonna drop the whole thing. It causes nothing but trouble. You have to follow all the rules (not to mention the copyright lines) and can't find much information on them so you need to start and learn the nuke style. Ok this is not a real problem but since a couple

[PHP] retrieving custom email headers

2002-09-17 Thread Andres Montiel
Can PHP retrieve custom headers? If, for example, someone sends me an email with the custom header Internet-card:, can I get it's value via PHP? The imap_header, AFAIK, gets only prespecified headers (fromaddress, Subject, date, etc.). I have tried searching via google but all I got were

[PHP] Large uploads

2002-09-17 Thread Rickard Dahlstrand
Hi, I have been trying to upload files using PHP 4.1.2. Everything works OK until the filesize gets above 10MB. I have set all the paramaters upload filesize and max postsize in PHP and Apache ini-files but it still doesn't work. The server seems to just drop the connection since IE just tells

[PHP] Re: stopping repeated posts to a Bulletin Board

2002-09-17 Thread Seairth Jacobs
Resarch And Development [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... What is the best way to avoid the repeated comment/post syndrome caused by the user clicking the submit button one too many times because he/she did not wait for the browser to return a

[PHP] array trim

2002-09-17 Thread icgphp
Hello, is their a way to go through the $_POST array and do a str_replace on each one so i do not have to do this $_POST[]=str_replace(,$_POST[]); to each of the POST variables? Thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] any new form builders

2002-09-17 Thread Vincent Stoessel
Hello, Are there any new scripts out there that will build an html from based on the schema of a database (mysql, postgresql). hate to be lazy but this is getting repetative. -- Vincent Stoessel Linux Systems Developer vincent xaymaca.com -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Redirecting - header location - sometimes not work

2002-09-17 Thread Kevin Stone
It's curious that it should be working some times and not others. This may be overkill but you might try a double redundent redirect where if the Header() function does not do the job then the script falls down into a Javascript which attempts the same thing. ? .. rest of script..

[PHP] callbacks to methods inside a class/object

2002-09-17 Thread Douglas Marsh
Is there a clean way to make use of PHP builtins that use callbacks and point those call backs to a method inside the class/object: A good example would be: ... class XMLClass { var $parser; function XMLClass() { $this-parser = xml_parser_create();

[PHP] strange bug(?) when opening lots of files

2002-09-17 Thread Shane Wright
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi One of my pages opens ~100 files, reads from them, and closes them, (only one file open at a time). The problem is that the page just dies mid-way through execution - no errors, no segfault, it just dies and returns a blank page to the user.

php-general Digest 17 Sep 2002 22:14:52 -0000 Issue 1591

2002-09-17 Thread php-general-digest-help
php-general Digest 17 Sep 2002 22:14:52 - Issue 1591 Topics (messages 116609 through 116665): Re: can you get the name of an object from within it's own class? 116609 by: Marek Kilimajer 116612 by: lallous 116613 by: Will Steffen How to send gzip content

Re: [PHP] strange bug(?) when opening lots of files

2002-09-17 Thread Tyler Longren
How long does the script tend to run before it just quits? Perhaps a timeout is set too low in php.ini. Take a look at max_execution_time in php.ini tyler On Tue, 17 Sep 2002 23:14:46 +0100 Shane Wright [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi One of

[PHP] Please, Help dynamicaly creating an Array

2002-09-17 Thread Max Sullivan
I am trying to populate array values and keys from a variable with no luck. Lets say I have the following array. $data1 = array('ONE'=1,'TWO'=2,'THREE'=3,'FOUR'=4); And I want to create part of the array with the string below: $str= 'THREE'=3, 'FOUR'=4; $data2 = array('ONE'=1,'TWO'=2,$str);

Re: [PHP] strange bug(?) when opening lots of files

2002-09-17 Thread Shane Wright
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the input - but its definately not that; time limit is set to 600 seconds and it dies inside 1 second :( (i should have added this to the original mail, but it seems to supply the page but keep the connection open, strange...) S On

Re: [PHP] strange bug(?) when opening lots of files

2002-09-17 Thread nicos
Can't you upgrade to 4.2.3 many bugs were fixed. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Shane Wright [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the input

Re: [PHP] strange bug(?) when opening lots of files

2002-09-17 Thread Shane Wright
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi my ISP keeps a little behind the curve - sometimes thats a good thing, but sometimes not. :( We could install our own PHP, but unless this is a known issue that has been fixed since I'd rather not risk any others by installing a new version

Re: [PHP] strange bug(?) when opening lots of files

2002-09-17 Thread nicos
Well, yes many issues about that we were fixed on the 4.2.3 and you should have anyway the latest version of PHP, if your ISP doesn't want to update it, change. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Shane Wright [EMAIL PROTECTED] a écrit

[PHP] adding unix account via system command

2002-09-17 Thread tim tom
php4.2.3 apache mod linux rh7.2 --- I am trying to add unix system account user via a simple php and shell script ? system(/usr/bin/add.sh timtom752002 timtom752002 /home/timtom752002,$r) or die ( $r user creation fail); print success; ? when i ran add.php on my browser, i get

[PHP] Conditionally include file based on document location

2002-09-17 Thread Eric C. Pollitt
I would like to know how to conditionally included a file based on the document location. The purpose is for placement of location-specific navigation menus. I'm not interested in DHTML hierarchical drop-down menus, rather inserting ready made HTML files using perhaps (?) DOCUMENT_URI (?) and

[PHP] Help.....still stuck after 3 days :/

2002-09-17 Thread Chad Winger
Hello Rudolf, Thank you for responding to my post, I really appreciate it. I ran the script you sent me, and then I tried looking up the syntax to try to figure out what it means. As it would be pointless for me just to take suggestions that people send me and then not learn what they mean. The

[PHP] PHP and Microsoft Office

2002-09-17 Thread Matthew Tapia
Can you use PHP to add appts to my microsoft outlook calendar or open up a document in ms word? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] adding unix account via system command

2002-09-17 Thread Peter Houchin
you need to make sure that the web has permission to use that file .. my guess is it don't have permission hence why you can run add.sh from the command line (where your not your web user I'm assuming). -Original Message- From: tim tom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 18

RE: [PHP] adding unix account via system command

2002-09-17 Thread tim tom
Dear Pete, Yes, apache runs as nobody. But I have setuid add.sh. Wouldn't that be sufficient ? -- tim --- Peter Houchin [EMAIL PROTECTED] wrote: you need to make sure that the web has permission to use that file .. my guess is it don't have permission hence why you can run add.sh from the

RE: [PHP] adding unix account via system command

2002-09-17 Thread Peter Houchin
I am not sure to be totally honest ... but i would have thought you setuid on add.sh to allow it to add the users but i don't think it would work for user nobody. ..what if you tried something like this user nobody (Apache) calls add.sh (initially started by user nobody) add.sh changes user to

[PHP] Re: Regex for split() to split by , which is not in ()s?

2002-09-17 Thread David Robley
In article [EMAIL PROTECTED], eurleif@buyer- brokerage.com says... I'm looking for a regex which splits a string by commas, but only if the comma is not in parenthesis. I know I'm being lazy and should write it myself, but that's just it... I'm lazy! Well, as it happens I'm too lazy to

[PHP] hidden PATH_INFO

2002-09-17 Thread perlguy9
Hi there. I'm trying to come up with a way to do PATH_INFO urls without having to call a script. Let me explain. I know how to make it work with a url like this: http://foo.com/bar.php/arg1/arg2/etc or even: http://foo.com/bar/arg1/arg2/etc What I'm trying to figure out is how to make it

[PHP] Re: [PHP-GTK] problems with socket

2002-09-17 Thread Steph
Fwd-ing to correct list .. Hi I hope someone can help me I have made a program with a servercomponent And this program connects to a PHP script on a webserver and the script makes a socket connection to this servercomponent and I want that this script logs into a database (or

[PHP] PHP and Flash

2002-09-17 Thread [EMAIL PROTECTED]
Hi all, I've never combined PHP with Flash, but I do know there's some possibilities. I'm wondering if I can make a dynamic-PHP-site which controls Flash. I need the administrator to be able to upload a new product to a DB, and then be seen by the visitors in Flash... is this possible? I want

Re: [PHP] PHP and Flash

2002-09-17 Thread Rasmus Lerdorf
php.net/ming On Wed, 18 Sep 2002, [EMAIL PROTECTED] wrote: Hi all, I've never combined PHP with Flash, but I do know there's some possibilities. I'm wondering if I can make a dynamic-PHP-site which controls Flash. I need the administrator to be able to upload a new product to a DB, and

Re: [PHP] callbacks to methods inside a class/object

2002-09-17 Thread Tom Rogers
Hi, Wednesday, September 18, 2002, 7:15:36 AM, you wrote: DM Is there a clean way to make use of PHP builtins that use callbacks and DM point those call backs to a method inside the class/object: DM A good example would be: DM ... DM class XMLClass { DM var $parser; DM function

Re: [PHP] can you get the name of an object from within it's own class?

2002-09-17 Thread Simon McKenna
Yeah, my brain is broke enough already, i'll just give the class an optional 'name' property. Thanks all! Will Steffen [EMAIL PROTECTED] wrote in message 003101c25e34$2a049950$8000a8c0@william">news:003101c25e34$2a049950$8000a8c0@william... Hehe why break your brain- give the class an id

Re: [PHP] any new form builders

2002-09-17 Thread Justin French
Check out the source of phpMyAdmin -- they do this, and do it well :) Also, check out the mysql_* functions in the manual -- field_type for example. Justin on 18/09/02 4:33 AM, Vincent Stoessel ([EMAIL PROTECTED]) wrote: Hello, Are there any new scripts out there that will build an html

[PHP] Messaging Solution

2002-09-17 Thread karthikeyan
Messaging Solution I want to develop a web-based Messaging System where the clients needs the messages and server keeps sending the messages based on Technical Request from the client. I need to write a php script for responding to the client's Request. How do I go about

[PHP] mid-level PHP/MySQL people in Los Angeles?

2002-09-17 Thread PHP freak
I'm looking for 1 or 2 people with good PHP/MySQL experience in the Los Angeles area. I have a few steady projects that pay $20/hr. (All of them 100% PHP/MySQL. All of them fun/non-corporate music-based sites.) If interested, please email my personal address: [EMAIL PROTECTED] Include your