Re: [PHP] Trouble with PHP server script

2008-02-14 Thread Stut
Richard Lynch wrote: On Sun, February 10, 2008 9:09 pm, Robert Cox wrote: Is it possible to use the "$_SERVER['PHP_AUTH_USER'];" construct in a URL forwarded site? I am trying to find the authorised user id so that I can access an SQL database with it. Anyone got some ideas? If you do a Loc

Re: [PHP] Trouble with PHP server script

2008-02-14 Thread Richard Lynch
On Sun, February 10, 2008 9:09 pm, Robert Cox wrote: > Is it possible to use the "$_SERVER['PHP_AUTH_USER'];" construct in a > URL > forwarded site? I am trying to find the authorised user id so that I > can > access an SQL database with it. Anyone got some ideas? If you do a Location: with a

Re: [PHP] Trouble with PHP server script

2008-02-11 Thread Daniel Brown
On Feb 10, 2008 10:09 PM, Robert Cox <[EMAIL PROTECTED]> wrote: > Is it possible to use the "$_SERVER['PHP_AUTH_USER'];" construct in a URL > forwarded site? I am trying to find the authorised user id so that I can > access an SQL database with it. Anyone got some ideas? Once again I'll defe

Re: [PHP] Trouble with PHP server script

2008-02-10 Thread Jim Lucas
Robert Cox wrote: Is it possible to use the "$_SERVER['PHP_AUTH_USER'];" construct in a URL forwarded site? I am trying to find the authorised user id so that I can access an SQL database with it. Anyone got some ideas? PHP looks like this //Get User $user = $_SERVER['PHP_AUTH_USER

Re: [PHP] Trouble with PHP server script

2008-02-10 Thread Nirmalya Lahiri
--- Robert Cox <[EMAIL PROTECTED]> wrote: > Is it possible to use the "$_SERVER['PHP_AUTH_USER'];" construct in > a URL > forwarded site? I am trying to find the authorised user id so that > I can > access an SQL database with it. Anyone got some ideas? > > PHP looks like this > >//G

[PHP] Trouble with PHP server script

2008-02-10 Thread Robert Cox
Is it possible to use the "$_SERVER['PHP_AUTH_USER'];" construct in a URL forwarded site? I am trying to find the authorised user id so that I can access an SQL database with it. Anyone got some ideas? PHP looks like this

Re: [PHP] trouble with function openssl_csr_new()

2007-03-23 Thread Richard Lynch
On Wed, March 21, 2007 5:05 am, Albert Kopka wrote: > > Hi ... > > I want to generate certificate for smardcard login (MS Win-XP) > and for do that the subject of certificate should contain same key > (in key:value of $dn) multiple times for example ... > > cert generated by ca suplied with W-2

[PHP] trouble with function openssl_csr_new()

2007-03-21 Thread Albert Kopka
Hi ... I want to generate certificate for smardcard login (MS Win-XP) and for do that the subject of certificate should contain same key (in key:value of $dn) multiple times for example ... cert generated by ca suplied with W-2003 server for smartcard login contains: Subject: DC = local,

[PHP] Trouble with session serializer

2006-01-09 Thread Mark
I am finishing a PHP session serializer module and am seeing wierd things. I seems to work OK, but doesn't work with squirrelmail. It works mostly but there seems to be one type that isn't working and I can't seems to find it. If you want to help: download and install xmldbx in your PHP, copy xmld

[PHP] trouble with generating the file attachment

2005-10-11 Thread Ricardo Ferreira
Hi,   I have the two files which I send as an attachment. One is simple form with a file upload box. The other is the corresponding PHP file which sends the information via e-mail. I used the code provided here (http://pt.php.net/de/imap_mail_compose) but something must be wrong. Perhaps

Re: [PHP] trouble with file upload page using PHP

2005-07-06 Thread Richard Davey
Hello Bruce, Thursday, July 7, 2005, 12:10:30 AM, you wrote: BG> I get an error stating: BG> "Warning: BG> copy(/hsphere/local/home/bruceg/inspired-evolution.com/LOR-BRUCE.pdf): BG> failed to open stream: Permission denied in BG> /hsphere/local/home/bruceg/inspired-evolution.com/Uploader.php on

[PHP] trouble with file upload page using PHP

2005-07-06 Thread Bruce Gilbert
I am testing a page that uploads a file to my server using PHP. I get an error stating: "Warning: copy(/hsphere/local/home/bruceg/inspired-evolution.com/LOR-BRUCE.pdf): failed to open stream: Permission denied in /hsphere/local/home/bruceg/inspired-evolution.com/Uploader.php on line 4 Could not c

Re: [PHP] Trouble with Apache 2.0, PHP and MySQL

2005-01-17 Thread Jason Barnett
Greg Donald wrote: On Fri, 14 Jan 2005 12:34:53 -0800, Phillip S. Baker <[EMAIL PROTECTED]> wrote: Any help here would be appreciated. Simple.. your PHP doesn't have MySQL support. Rebuild it or install the rpm or package or whatever. What kind of 'Linux box' is it? Greg is right. Also it's imp

Re: [PHP] Trouble with Apache 2.0, PHP and MySQL

2005-01-17 Thread Greg Donald
On Fri, 14 Jan 2005 12:34:53 -0800, Phillip S. Baker <[EMAIL PROTECTED]> wrote: > Any help here would be appreciated. Simple.. your PHP doesn't have MySQL support. Rebuild it or install the rpm or package or whatever. What kind of 'Linux box' is it? -- Greg Donald Zend Certified Engineer http:

Re: [PHP] Trouble with Apache 2.0, PHP and MySQL

2005-01-17 Thread Marek Kilimajer
Phillip S. Baker wrote: Greetings all, I am runnign into a strange problem. I am working on a Linux box. Running PHP 4.2.2 Apache 2.0 And it has MySQl installed on it (not sure of the version. I ran a quick script to check to make sure the connection to the DB is working fine as this is a very secu

[PHP] Trouble with Apache 2.0, PHP and MySQL

2005-01-17 Thread Phillip S. Baker
Greetings all, I am runnign into a strange problem. I am working on a Linux box. Running PHP 4.2.2 Apache 2.0 And it has MySQl installed on it (not sure of the version. I ran a quick script to check to make sure the connection to the DB is working fine as this is a very secure connection (have to

Re: [PHP] Trouble with do..while

2004-12-06 Thread Greg Donald
On Mon, 6 Dec 2004 14:23:51 +0100, Salvatore <[EMAIL PROTECTED]> wrote: > I have that script in php that should print on a page the result of lot of > pages defined in this way: > > This is the address: www.mysite.com/mypage.php?idx=1&lines=50 Sounds to me like you want basic pagination. I'd use

Re: [PHP] Trouble with do..while

2004-12-06 Thread denys
Salvatore a écrit : If I understand correctly, have you tried this instead of the above code : while( !feof($f) ) { $stream = fread($f, 8192); $data .= $stream; } fclose($f); i found it. max_execution_time = 30 is too few for more than 3000 files:) Ooops... Sorry for leaving PHP thr

[PHP] Trouble with do..while

2004-12-06 Thread Salvatore
Hi all, I have that script in php that should print on a page the result of lot of pages defined in this way: This is the address: www.mysite.com/mypage.php?idx=1&lines=50 It work in this way: if idx=1 and lines=50 my page will look like: element1 element2 .. element50 if idx=5 and lines=5 my

[PHP] Trouble with the ISAPI in PHP4

2004-10-30 Thread George Hester
If I am loading extensions in my php.ini file then this is what happens when I try try load the php4isapi.dll. I go ahead and add it as an ISAPI filter the way it supposed to be done in IIS 5. Then I stop the IISAdmin Service and restart it. Then I start the Web Puublishing Service. This is whe

Re: [PHP] Trouble with Apache, PHP, pear

2004-07-24 Thread Marek Kilimajer
Ron King wrote: At 06:28 AM 7/23/2004, you wrote: You need php-cli rpm, it's not an extension, it's command line binary. And it won't hurt anything to have both cli and extension installed? -- Ron No -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP] Trouble with Apache, PHP, pear

2004-07-23 Thread Ron King
At 06:28 AM 7/23/2004, you wrote: You need php-cli rpm, it's not an extension, it's command line binary. And it won't hurt anything to have both cli and extension installed? -- Ron Ron King wrote: When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL installed correctly. I could se

Re: [PHP] Trouble with Apache, PHP, pear

2004-07-23 Thread Marek Kilimajer
You need php-cli rpm, it's not an extension, it's command line binary. Ron King wrote: When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL installed correctly. I could serve web pages, MySQL worked, and when I tried the phpinfo() function, I got a page that looked OK. I could c

[PHP] Trouble with Apache, PHP, pear

2004-07-23 Thread Ron King
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL installed correctly. I could serve web pages, MySQL worked, and when I tried the phpinfo() function, I got a page that looked OK. I could create simple php pages and serve them up. Then I tried to install pear, and things sta

Re: [PHP] Trouble with sin()

2004-07-22 Thread Jonathan Haddad
as in 20 degrees? float *sin* ( float arg) *sin()* returns the sine of the arg parameter. The arg parameter is in radians. RADIANS. |sin(deg2rad(20)); | Jon Marcus Strube wrote: Hi, i'm working with PHP 5.0.0 (Linux) and have some trouble using function sin(). In PHPs opinion sin(20) is 0

Re: [PHP] Trouble with sin()

2004-07-22 Thread Marcus Strube
Thanks a lot. I've overseen a word in the manual. Now i got it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Trouble with sin()

2004-07-22 Thread Ashwin Purohit
If you want it in degrees, use sin(deg2rad(20); > On Thu, 22 Jul 2004 12:17:19 -0400, Ashwin Purohit <[EMAIL PROTECTED]> wrote: > > It's giving you sin(20) in radians, not in degrees (which is what you > > seem to want). It's not a bug. >> > > On Thu, 22 Jul 2004 17:40:21 +0200, Marcus Strube <[EM

Re: [PHP] Trouble with sin()

2004-07-22 Thread Ashwin Purohit
It's giving you sin(20) in radians, not in degrees (which is what you seem to want). It's not a bug. On Thu, 22 Jul 2004 12:17:19 -0400, Ashwin Purohit <[EMAIL PROTECTED]> wrote: > It's giving you sin(20) in radians, not in degrees (which is what you > seem to want). It's not a bug. > > > > On

[PHP] Trouble with sin()

2004-07-22 Thread Marcus Strube
Hi, i'm working with PHP 5.0.0 (Linux) and have some trouble using function sin(). In PHPs opinion sin(20) is 0.912945250728 I have had a look at the bug.php.net, but couldn`t find anything. Is it a bug or am I just misunderstanding something?? Marcus -- PHP General Mailing List (http:/

[PHP] Trouble with include/require

2004-07-16 Thread A. Lanza
Hi list, i'm trying to include files in my php scripts but things seem not to work properly. In my script, i include a file like this: I have all include files in includes directory, that's a children of the directory where my scrips are. The include_path config. variable is set like this: inc

Re: [PHP] Trouble with arrays from within MySQL results where clause

2004-07-12 Thread Jason Wong
On Tuesday 13 July 2004 00:05, Eric Boerner wrote: > I am having trouble setting array data from within a MySQL results > query. I have modified data from the result and wish to enter it into > it's own array ($data). That then is used to generate a graph. The > following code basically gives me a

Re: [PHP] Trouble with arrays from within MySQL results where clause

2004-07-12 Thread John W. Holmes
Eric Boerner wrote: Hello all, I am having trouble setting array data from within a MySQL results query. I have modified data from the result and wish to enter it into it's own array ($data). That then is used to generate a graph. The following code basically gives me an empty array... I doubt the

RE: [PHP] Trouble with arrays from within MySQL results where clause

2004-07-12 Thread Eric Boerner
s. :) -Original Message- From: Eric Boerner [mailto:[EMAIL PROTECTED] Sent: Monday, July 12, 2004 9:06 AM To: [EMAIL PROTECTED] Subject: [PHP] Trouble with arrays from within MySQL results where clause Hello all, I am having trouble setting array data from within a MySQL results query.

[PHP] Trouble with arrays from within MySQL results where clause

2004-07-12 Thread Eric Boerner
Hello all, I am having trouble setting array data from within a MySQL results query. I have modified data from the result and wish to enter it into it's own array ($data). That then is used to generate a graph. The following code basically gives me an empty array... I am pulling out a timestamp a

[PHP] Trouble with calling an external program in PHP

2004-06-29 Thread Indrek Siitan
Hi, I'm writing a small image stock application that stores EPS files (that's what the client is using for their work). Since GD doesn't support EPS, the only alternative I've found to create thumbnails is to use the 'convert' utility from ImageMagick. When testing it on the command line and fro

RE: [PHP] Trouble with using isset and form posting

2004-05-13 Thread Jay Blanchard
[snip] A simplified version of the code is shown below and is posting to itself. Any idea what I'm doing wrong? Untitled Document Please Enter [/snip] I tried this (navigated directly to the page) and it worked. You probably want to set the GET array thingie though...like this

[PHP] Trouble with using isset and form posting

2004-05-13 Thread Tom Chubb
I think I'm missing something here really obvious! I am using a script where you get a variable from one page and post to another. I've just realised that some people are jumping straight to the second page (it rates higher in search engines) so the variable (yourname) remains unset. I want to use

[PHP] Trouble with thumbnail generation using GD

2004-04-21 Thread Haddad Said
Hi, i was trying to create thumbnail using a tutorial on image galleries, I am having problems creating thumbnail images using GD. The thumbnail is created with the sizes prorerly, however the image is black. I have posted a temporary php file i created to investigate the problem below. I suspect

Re: [PHP] Trouble with ftp_get function

2004-03-11 Thread Raditha Dissanayake
If you are using double quotes teh file name should be c:\\thefile.txt Benjamin wrote: I'm sorry if this has already been asked before... I am trying to make a small ftp app using this line to download files: if( !ftp_get( $conn_id , "C:\thefile.txt" , $HTTP_GET_VARS['file'] , FTP_BINARY ) ) $

[PHP] Trouble with ftp_get function

2004-03-11 Thread Benjamin
I'm sorry if this has already been asked before... I am trying to make a small ftp app using this line to download files: if( !ftp_get( $conn_id , "C:\thefile.txt" , $HTTP_GET_VARS['file'] , FTP_BINARY ) ) $error = true; I know I have a connection, and $HTTP_GET_VARS['file'] is the path of the

[PHP] trouble with forcing output to be cached

2003-11-07 Thread Ilja Polivanov
Hallo all, I would like to force PHP generated images to cache on client-side. just for reduce traffic and speed of pageloading. The problem is that PHP adds some headers by default, They are: Cache-Control : no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma : no-cache :) it

[PHP] trouble with array_search

2003-08-30 Thread Merlin
Hi there, I am having somee trouble with array_search. The function should search for a given date, but it does not work since array_search seems only to compare strings. Thats why I tryed to cast it, but does not help. Here is the problem: (pseudo code) while(... $log[date][]= (

Re: [PHP] Trouble with Session var

2003-08-02 Thread Curt Zirzow
* Thus wrote James Johnson ([EMAIL PROTECTED]): > Hello, hello james. > > Is there a limit or something to the number of Session vars that can be > used? I've even tried setting a Session var called "foo" and that doesn't > work. None that php enforces, only the operating system's filesystem an

RE: [PHP] Trouble with Session var

2003-08-02 Thread James Johnson
DOH! Nevermind, I mis-spelled session_start(). :( -Original Message- From: James Johnson [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 4:19 PM To: [EMAIL PROTECTED] Subject: [PHP] Trouble with Session var Hello, This one has me stumped. I'm setting a session var

[PHP] Trouble with Session var

2003-08-02 Thread James Johnson
Hello, This one has me stumped. I'm setting a session var to a value returned from a query, then redirecting to another page. I get the following error on the second page: Notice: Undefined index: sv_adCatText On the page that sets the session var, I can do an echo of $HTTP_SESSION_VARS['sv_ad

[PHP] Trouble with fopen() || Win2k Machine

2003-06-06 Thread CF High
Hey all. Quick question here that's driving me up the wall: Using fopen(), I'm easily able to open files for reading; however, when I attempt to open files for writing using fopen($file_path, "W+"), an error occurs. I'm able to use fopen($file_path, "a+"), but I need to be able to overwrite file

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adnan
Adam Voigt wrote: > I think what you want is: > > move_uploaded_file($_FILES['imagefile']['tmp_name'],$ftpdir . > $_FILES['imagefile']['name']); > > (Apologies if it wraps, that should be all one line.) > > > > On Wed, 2003-05-28 at 12:58, Adnan wrote: >> Adam Voigt wrote: >> >> > Hmm, what'

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adam Voigt
I think what you want is: move_uploaded_file($_FILES['imagefile']['tmp_name'],$ftpdir . $_FILES['imagefile']['name']); (Apologies if it wraps, that should be all one line.) On Wed, 2003-05-28 at 12:58, Adnan wrote: > Adam Voigt wrote: > > > Hmm, what's the exact error message you get? > > >

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adnan
Adam Voigt wrote: > Hmm, what's the exact error message you get? > > > On Wed, 2003-05-28 at 12:43, Adnan wrote: >> Adam Voigt wrote: >> >> > If your running under linux/unix, do: >> > >> > chown webuser:webuser /tmp/php >> > >> > Supplement /tmp/php with whatever upload path you have >> > se

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adam Voigt
Call me an optimist but if you don't get any error's, that usually means it worked. You do know that the uploaded file is erased when the page ends right? You have to use a call to move_uploaded_file to actually put it somewhere on the file system. On Wed, 2003-05-28 at 12:53, Adnan wrote: > Ada

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adnan
Adam Voigt wrote: > Hmm, what's the exact error message you get? > > > On Wed, 2003-05-28 at 12:43, Adnan wrote: >> Adam Voigt wrote: >> >> > If your running under linux/unix, do: >> > >> > chown webuser:webuser /tmp/php >> > >> > Supplement /tmp/php with whatever upload path you have >> > se

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adam Voigt
Hmm, what's the exact error message you get? On Wed, 2003-05-28 at 12:43, Adnan wrote: > Adam Voigt wrote: > > > If your running under linux/unix, do: > > > > chown webuser:webuser /tmp/php > > > > Supplement /tmp/php with whatever upload path you have > > set in your php.ini, and webuser with

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adnan
Adam Voigt wrote: > If your running under linux/unix, do: > > chown webuser:webuser /tmp/php > > Supplement /tmp/php with whatever upload path you have > set in your php.ini, and webuser with whatever user your > webserver runs as. > > > > On Wed, 2003-05-28 at 12:33, Adnan wrote: >> Jason Wo

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adam Voigt
If your running under linux/unix, do: chown webuser:webuser /tmp/php Supplement /tmp/php with whatever upload path you have set in your php.ini, and webuser with whatever user your webserver runs as. On Wed, 2003-05-28 at 12:33, Adnan wrote: > Jason Wong wrote: > > > On Wednesday 28 May 2003

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Adnan
Jason Wong wrote: > On Wednesday 28 May 2003 20:11, Adnan wrote: > >> i have been having trouble working out how to upload an image, the most >> progress ive made is putting a blank file on the server, but thats it, >> any suggestions anyone?? > > If you're wanting to do HTTP uploads then manual

Re: [PHP] Trouble With FTP_PUT Please Help!

2003-05-29 Thread Jason Wong
On Wednesday 28 May 2003 20:11, Adnan wrote: > i have been having trouble working out how to upload an image, the most > progress ive made is putting a blank file on the server, but thats it, any > suggestions anyone?? If you're wanting to do HTTP uploads then manual > Handling file uploads tells

[PHP] Trouble With FTP_PUT Please Help!

2003-05-28 Thread Adnan
Hi, i have been having trouble working out how to upload an image, the most progress ive made is putting a blank file on the server, but thats it, any suggestions anyone?? Im using PHP 4.3.2, Apache 1.3.27 here is the code im using! photoposted.php postphoto.php "; echo "Click the Browse bu

[PHP] trouble with cURL & Linkpoint

2003-03-23 Thread Doug Parker
I'm having trouble getting cURL to work with a remote server. I'm using Linkpoint to process a credit card transaction. (Does anyone have any experience with Linkpoint?) I have tested my script on another server and cURL seems to retrieve the information fine. However, I'm getting a blank h

Re: [PHP] Trouble with resizing image!!

2003-02-10 Thread Geckodeep
thanks Marek, it never crossed my mind about time, i was using it to have a unque name to the uploaded file. I'll try the script without the time and see. Thanks "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At first glance I noticed you use

Re: [PHP] Trouble with resizing image!!

2003-02-10 Thread Marek Kilimajer
At first glance I noticed you use time() all over your script and expect it to be always the same. But the function returns current time, so it changes! Use $n_image1 = time().$_FILES['image1']['name']; and remove all time() functions Geckodeep wrote: I am having trouble in resizing the im

[PHP] Trouble with resizing image!!

2003-02-09 Thread Geckodeep
I am having trouble in resizing the image. What I am trying to do is letting people upload images of any dimension, and with the aid of my script after having uploaded, it renames the file, from this new file I'll get the size and resize it to predefined format 360x240 or 240x360 and this is the no

[PHP] Trouble with Exec

2003-02-02 Thread Nicole
I am trying to load a php script to run in the background using the exec() function. My code looks like this: insert_id();//grab id of newly inserted row $cmd = "php -q sendit.php $aqid >/dev/null 2>&1 &"; exec("$cmd");// call sendit.php in background // ... ?> Ba

Re: [PHP] trouble with update from php 3 to php 4.2.3

2002-12-04 Thread Philip Olson
If you want to do relative includes, you must have a . in your include_path. Maybe this is what you are meaning to do. Please reread this: http://www.php.net/configuration.directives.php#ini.include-path And if you still have problems after adjusting it and restarting the web server, tell us

[PHP] trouble with update from php 3 to php 4.2.3

2002-12-04 Thread Omar
I updated php from version 3 to 4.2.3 on a win NT 4 server (with iss 4). Everything went ok, but the include() function. I have problems when including files. I tried to specify a directory in the php.ini file but it still didn't work. This is how i have the include line: include ('file.inc'); I c

Re: Re[6]: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-08 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 IT WORKS!!! Hahah yeah! It may have been a pain in the butt for _me_ to install, but it was worth it- this is really cool! Thanks Tom, I really owe you one. - -Evan On Thursday 07 November 2002 02:18 am, you wrote: > Hi, > > Thursday, November

Re[6]: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-07 Thread Tom Rogers
Hi, Thursday, November 7, 2002, 6:30:17 PM, you wrote: EN> -BEGIN PGP SIGNED MESSAGE- EN> Hash: SHA1 EN> Apache fails sanity check. Same with and without the LDFLAGS thing. EN> Error Output for sanity check EN> cd ..; gcc -DLINUX=22 -I/usr/src/php-4.2.3 -I/usr/src/php

Re: Re[4]: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-07 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Apache fails sanity check. Same with and without the LDFLAGS thing. Error Output for sanity check cd ..; gcc -DLINUX=22 -I/usr/src/php-4.2.3 -I/usr/src/php-4.2.3/main - -I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3/Zend -I/usr/sr

Re[4]: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-06 Thread Tom Rogers
Hi, Thursday, November 7, 2002, 1:11:43 PM, you wrote: EN> Same error. >> As a test try compiling statically into apache...That is the way I have php at the moment. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-06 Thread Evan Nemerson
Same error. On Wednesday 06 November 2002 05:40 pm, you wrote: > Hi, > > Thursday, November 7, 2002, 5:35:10 AM, you wrote: > EN> -BEGIN PGP SIGNED MESSAGE- > EN> Hash: SHA1 > > EN> Nope... same error. Patch worked perfectly, LDFLAGS=-lstdc++ did too. > End EN> result: same error. Any oth

Re[2]: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-06 Thread Tom Rogers
Hi, Thursday, November 7, 2002, 5:35:10 AM, you wrote: EN> -BEGIN PGP SIGNED MESSAGE- EN> Hash: SHA1 EN> Nope... same error. Patch worked perfectly, LDFLAGS=-lstdc++ did too. End EN> result: same error. Any other ideas??? EN> On Wednesday 06 November 2002 09:09 am, you wrote: >> Hi, >>

Re: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-06 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nope... same error. Patch worked perfectly, LDFLAGS=-lstdc++ did too. End result: same error. Any other ideas??? On Wednesday 06 November 2002 09:09 am, you wrote: > Hi, > > Wednesday, November 6, 2002, 2:50:42 PM, you wrote: > EN> -BEGIN PGP SI

Re: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-06 Thread Tom Rogers
Hi, Wednesday, November 6, 2002, 2:50:42 PM, you wrote: EN> -BEGIN PGP SIGNED MESSAGE- EN> Hash: SHA1 EN> I'm trying to get XSLT working with PHP, and after slowly working my way EN> through several other problems, I've found one that I can't figure out. EN> Software: EN> PHP 4.2.3 EN>

Re: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-05 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nope. Same error. Good idea, though... - -Evan On Tuesday 05 November 2002 01:56 pm, .: B i g D o g :. wrote: > Try specifying the sablot installation directory in the configuration > > --with-xslt-sablot=/some/dir > > On Wed, 2002-11-06 at 04:50,

Re: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-05 Thread .: B i g D o g :.
Try specifying the sablot installation directory in the configuration --with-xslt-sablot=/some/dir On Wed, 2002-11-06 at 04:50, Evan Nemerson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I'm trying to get XSLT working with PHP, and after slowly working my way > through several

[PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-05 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to get XSLT working with PHP, and after slowly working my way through several other problems, I've found one that I can't figure out. Software: PHP 4.2.3 Apache 1.3.27 Sablotron 0.96 GCC 3.2 Linux 2.4.19-lsm1 ./configure \ - --enable-xml

Re: [PHP] trouble with maximum_execution_time and file upload

2002-11-04 Thread Marek Kilimajer
If you are running in safe mode, setting time limit has no effect Eduardo M. Bragatto wrote: I've send an e-mail with a doubt related with the "maximum_execution_time" variable but it has no answers, so, I'm submiting it again... I'm using a single php script to send files named upload.

[PHP] trouble with maximum_execution_time and file upload

2002-11-03 Thread Eduardo M. Bragatto
I've send an e-mail with a doubt related with the "maximum_execution_time" variable but it has no answers, so, I'm submiting it again... I'm using a single php script to send files named upload.php, here is the source code: set_time_limit(500); copy($userfile, "log\\$userfile_name");

RE: [PHP] Trouble with switch statements

2002-10-27 Thread Gareth Hastings
Edward, Try Case "1": . Break; -Original Message- From: Edward Kehoe [mailto:emkehoe@;learn.senecac.on.ca] Sent: Friday, October 25, 2002 6:47 PM To: [EMAIL PROTECTED] Subject: [PHP] Trouble with switch statements Ok...I just recently installed Apache1 and PH

Re: [PHP] Trouble with switch statements

2002-10-27 Thread @ Edwin
Hello, "eNetwizard Developers Team" <[EMAIL PROTECTED]> wrote: > > Use $_GET["select"] for the switch statement > > Some of the people on this list would even recommend you make another > variable first, such as $userselect = $_GET["select"] and use > $userselect as your switch statement, thoug

Re: [PHP] Trouble with switch statements

2002-10-26 Thread eNetwizard Developers Team
in the php.ini file (not recommended) -Samuel | http://enetwizard.net -Original Message- From: Edward Kehoe [mailto:emkehoe@;learn.senecac.on.ca] Sent: Friday, October 25, 2002 1:47 PM To: [EMAIL PROTECTED] Subject: [PHP] Trouble with switch statements Ok...I just recently installed Apac

RE: [PHP] Trouble with switch statements

2002-10-26 Thread Thoenen, Peter Mr. EPS
switch($_GET['select']){ case 1: .. -Peter > -Original Message- > From: Edward Kehoe [mailto:emkehoe@;learn.senecac.on.ca] > Sent: Friday, October 25, 2002 19:47 > To: [EMAIL PROTECTED] > Subject: [PHP] Trouble with switch statements > > &

[PHP] Trouble with switch statements

2002-10-26 Thread Edward Kehoe
Ok...I just recently installed Apache1 and PHP 4.2.3 on my computer and I've configured everything. However, I can't seem to get my switch statements to accept variable values from the address bar. So if I type in: http://www.my-site.com/index.php?select=1 It displays the text in the default part

Re: [PHP] Trouble with \\ and form

2002-10-16 Thread Marek Kilimajer
Easy way is stripslashes(), just watch out you don't put stripslashed field input into the database Christian Ista wrote: >Hello, > >I'm trying the example1 give in xml_parse_into_struct section here : >http://www.php.net/manual/en/function.xml-parse-into-struct.php > >works fine. > >But know I

[PHP] Trouble with \\ and form

2002-10-16 Thread Christian Ista
Hello, I'm trying the example1 give in xml_parse_into_struct section here : http://www.php.net/manual/en/function.xml-parse-into-struct.php works fine. But know I'm trying to change the file name "moldb.xml" by a file name come from a form . I receive from the form something like that : C:\\D

RE: [PHP] Trouble with understanding arrays

2002-10-02 Thread Andy Crain
er 02, 2002 8:16 PM To: [EMAIL PROTECTED] Subject: [PHP] Trouble with understanding arrays I am having problems with arrays. I guess I just don't understand them all that well. I have an simple array of stock tickers. Then for each ticker I go to Yahoo to get their current price and try to pu

[PHP] Trouble with understanding arrays

2002-10-02 Thread Christopher J. Crane
I am having problems with arrays. I guess I just don't understand them all that well. I have an simple array of stock tickers. Then for each ticker I go to Yahoo to get their current price and try to push the Name of the ticker and it's value into an associative array(I think). Then I want to sort

Re: [PHP] trouble with function

2002-08-25 Thread Justin French
Thanks for all your help :) Justin on 26/08/02 1:55 AM, Michael Sims ([EMAIL PROTECTED]) wrote: > On Sun, 25 Aug 2002 10:49:00 -0500, you wrote: > >> static $myrow; >> if($myrow = mysql_fetch_array($result)) { > [...] > > Oops. We want to remember the position of the result set, so it's > $r

Re: [PHP] trouble with function

2002-08-25 Thread Michael Sims
On Sun, 25 Aug 2002 10:49:00 -0500, you wrote: >static $myrow; >if($myrow = mysql_fetch_array($result)) { [...] Oops. We want to remember the position of the result set, so it's $result that should be static, not $myrow. In addition, you'll have to put a check at the top of the function to see

Re: [PHP] trouble with function

2002-08-25 Thread Michael Sims
On Mon, 26 Aug 2002 01:12:56 +1000, you wrote: >However, I was hoping to use it in a similar way that I use mysql in the >above code... something like: >while($song = getSongByArtist(4)) >{ >echo song['title']; >echo song['writers']; >echo song['video']; >echo song['artist_id'

Re: [PHP] trouble with function

2002-08-25 Thread Matt
next entry. - Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Sunday, August 25, 2002 11:12 AM Subject: [PHP] trouble with function > Hi, > > This is the first time I've REALLY tackled multi-dimensional arra

[PHP] trouble with function

2002-08-25 Thread Justin French
Hi, This is the first time I've REALLY tackled multi-dimensional arrays, in conjunctions with functions. I like the way this code works: So I built a function which returns a multi-dimensional array: $v) { $$k = $v; } $songs["$id"] = array(

RE: [PHP] Trouble with \

2002-07-24 Thread John Holmes
> > Try this function: > > http://www.php.net/manual/en/function.stripslashes.php > > Oddly enough, as I told John, I did that as well and it doesn't work. Are the \ there to escape anything, like ' or " or are they just in there by themselves..as a delimiter or something. If the \ is by itself,

Re: [PHP] Trouble with \

2002-07-24 Thread Justin French
on 25/07/02 8:30 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > Anyway, with asides to the snooty "RTFM" reply I got, I thought I'd share. No, I agree with the RTFM statement. A simple search for "remove slashes" on php.net would have resulted in links to all the slashes functions, includin

RE: [PHP] Trouble with \

2002-07-24 Thread skeller
> If the "\" are showing up in form posted data just do this: > > $newtext = stripslashes($oldtext); That's what I'm doing now before they're written to the file. > The slashes are put before any single or double quote by a > nifty little php feature called "magic quotes". By escaping > quotes i

RE: [PHP] Trouble with \

2002-07-24 Thread skeller
> It's extremely important as to where you put the function within your > script. Understood, and as I said before, I'm fairly new to PHP, so I'm bound to make the boneheaded mistakes. But I did try and solve it myself before begging for help :) Basically, the user enteres some text into a form,

Re: [PHP] Trouble with \

2002-07-24 Thread Tech Support
f sql injections and other types of sneaky stuff. Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: <[EMAIL PROTECTED]> To: "PHP List (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, July 24, 2002 5:30 PM Subject: [PHP] Trouble with \

Re: [PHP] Trouble with \

2002-07-24 Thread Richard Baskett
n blend passion, reason and courage in a personal commitment to the great enterprises and ideals of American society." - Robert F. Kennedy > From: <[EMAIL PROTECTED]> > Date: Wed, 24 Jul 2002 14:48:07 -0800 > To: "PHP List \(E-mail\)" <[EMAIL PROTECTED]> > Sub

RE: [PHP] Trouble with \

2002-07-24 Thread skeller
> Try this function: > http://www.php.net/manual/en/function.stripslashes.php Oddly enough, as I told John, I did that as well and it doesn't work. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Trouble with \

2002-07-24 Thread Richard Baskett
ation 21:4 > From: <[EMAIL PROTECTED]> > Date: Wed, 24 Jul 2002 14:30:08 -0800 > To: "PHP List \(E-mail\)" <[EMAIL PROTECTED]> > Subject: [PHP] Trouble with \ > > Anyway, with asides to the snooty "RTFM" reply I got, I thought I'd share. >

[PHP] Trouble with \

2002-07-24 Thread skeller
Anyway, with asides to the snooty "RTFM" reply I got, I thought I'd share. Turns out the \'s that I was having problems getting rid of were written there from a form post that was used to collect the data. I still haven't found a way to remove them after reading them from the file, but I did mana

  1   2   >