Re: [PHP] Problem with self join

2004-11-29 Thread Raditha Dissanayake
Robin Vickery wrote: On Mon, 29 Nov 2004 14:12:23 +0530, suneel [EMAIL PROTECTED] wrote: Hi... Please take a look at the following... I'm using MySQL 4.0.15 I have the database like this This should really go to a MySQL list, but... please keep the discussion on

Re: [PHP] Problem with PHP Curl support and Apache

2004-11-28 Thread Matthew Weier O'Phinney
* Raditha Dissanayake [EMAIL PROTECTED]: Luis Lebron wrote: I have a server running RH 8, Apache 1.3.27, PHP 4.3.9. I tried to recompile PHP with Curl support. that's a very old version of red hat that is no longer supported you might want to upgrade at least to RH 9 if not to fedora

Re: [PHP] Problem with recursion and FTP transfer

2004-11-26 Thread Raditha Dissanayake
[EMAIL PROTECTED] wrote: Hi all I have create a script for FTP function. When i have testing the script with little file and directory it's ok The script read data in all folder with recursive function and the same path of data like C:\backup\folder1\file.txt is the same on remolte folder

Re: [PHP] Problem with PHP Curl support and Apache

2004-11-24 Thread Raditha Dissanayake
Luis Lebron wrote: I have a server running RH 8, Apache 1.3.27, PHP 4.3.9. I tried to recompile PHP with Curl support. that's a very old version of red hat that is no longer supported you might want to upgrade at least to RH 9 if not to fedora Everything seemed to compile correctly. However,

Re: [PHP] problem in my php code

2004-11-18 Thread Richard Davey
Hello Hongwei, Thursday, November 18, 2004, 4:46:00 PM, you wrote: HL no values are displayed. Apparently, $obj is not passed to HL tsnext.php and tsshow.php (the second time), but $ind is. What is HL wrong in the above codes? Can somebody help me? Unless there was some code missed out, I

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-18 Thread Jeff - Webmaster
Brent, Declaring the DOCTYPE did it! I completely overlooked that. Thank you very much for your help. Jeff At 06:40 AM 11/17/2004, Brent Baisley wrote: For the record, this is NOT a PHP problem. I have no problem on my Mac using Safari or FireFox, or even Camino .7. However, there is a problem

Re: [PHP] problem in my php code

2004-11-18 Thread Philip Thompson
On Nov 18, 2004, at 10:46 AM, Hongwei Li wrote: Hi, I have a problem in my php code. I simplify the code as the 4 pieces below and hope somebody can help me to fix the problem. [snip] no values are displayed. Apparently, $obj is not passed to tsnext.php and tsshow.php (the second time), but

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-17 Thread Brent Baisley
For the record, this is NOT a PHP problem. I have no problem on my Mac using Safari or FireFox, or even Camino .7. However, there is a problem using IE on the Mac. Which, if you have Mac users still using IE, you should tell them to cease and desist. It's a discontinued product. But, you may

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jonel Rienton
do you have the actual link of this page, i can test it for you. -- I not know English well, but I know 7 computer languages. anonymous On Nov 16, 2004, at 2:24 PM, Jeff - Webmaster wrote: Hello all. I have created a few PHP pages

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Brent Baisley
I never had a problem with a Mac, nor any platform as long as I adhered to web standards. OK, so IE can be problematic especially with CSS. Anyway, I notice that your input field doesn't have a value= attribute. That may be your problem. I'm pretty sure it's a required attribute. IE is

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jeff - Webmaster
https://www.shoppingnw.com/ccare/auto_bill.php Thanks Jeff At 01:12 PM 11/16/2004, Jonel Rienton wrote: do you have the actual link of this page, i can test it for you. -- I not know English well, but I know 7 computer languages.

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jeff - Webmaster
Thank you for the response Brent. I made that change and the problem still exists. I ran the page through the validator and it found some generic problems, but nothing that seemed like it would relate here. Jeff At 01:19 PM 11/16/2004, Brent Baisley wrote: I never had a problem with a Mac, nor

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jonel Rienton
It works flawlessly on my mac os panther 10.3.6, i wonder what build of mac os they are using. I can type in on all the textfields. -- I not know English well, but I know 7 computer languages. anonymous On Nov 16, 2004, at 2:24

Re: [PHP] Problem with fopen(...) - No error??

2004-11-06 Thread Jason Wong
On Friday 05 November 2004 22:04, Pankaj Kafley wrote: Can you be more specific ? I actually had the same sort of problem once but maybe it is not the same. But anyways I was getting null everytime until I change $_FILES variable to $HTTP_POST_FILES. As by suggested by someone else here. A

Re: Re: [PHP] Problem with fopen(...) -

2004-11-06 Thread P M
ring a bell to you? Thanks.. Arty -Original Message- From: Pankaj Kafley [EMAIL PROTECTED] To: Arty [EMAIL PROTECTED] Date: Fri, 5 Nov 2004 23:04:24 +0100 Subject: Re: [PHP] Problem with fopen(...) - No error?? Can you be more specific ? I actually had the same sort of problem once

Re: [PHP] Problem with fopen(...) -

2004-11-06 Thread Jason Wong
On Saturday 06 November 2004 19:33, P M wrote: Please do not top post. Well, since I'm using the latest version of the PHP plugin, it can't be that I'm using the $_FILES variable ($HTTP_POST_FILES is for older versions of php as far as I know). Nevertheless, I tried it.. and it didn't work.

Re: [PHP] Problem with fopen(...) - No error??

2004-11-05 Thread Pankaj Kafley
Can you be more specific ? I actually had the same sort of problem once but maybe it is not the same. But anyways I was getting null everytime until I change $_FILES variable to $HTTP_POST_FILES. As by suggested by someone else here. Regards On Fri, 5 Nov 2004 21:08:17 +0100, Arty [EMAIL

Re: [PHP] problem with include()

2004-11-01 Thread Richard Davey
Hello Jason, Monday, November 1, 2004, 10:34:16 PM, you wrote: JD the login page is included ... the login page does not see the auth JD cookie until the user refreshes their browser ... why is this happening? Cookies (set via setcookie) are not available to you on the same page as you set

RE: [PHP] problem with include()

2004-11-01 Thread Vail, Warren
How did you go to the page that included the login page, if you included it in the tiny_edit.php (which is the routine that sets the cookie in the browser, you need to cause the browser to send it back to you by doing a redirect; Header(Location: tiny_edit.php); Exit; When tiny_edit is entered

Re: [PHP] problem with include()

2004-11-01 Thread Jason Davis
On Mon, 2004-11-01 at 16:08, Richard Davey wrote: Hello Jason, Monday, November 1, 2004, 10:34:16 PM, you wrote: JD the login page is included ... the login page does not see the auth JD cookie until the user refreshes their browser ... why is this happening? Cookies (set via setcookie)

Re: [PHP] problem with include()

2004-11-01 Thread Jason Davis
On Mon, 2004-11-01 at 16:10, Vail, Warren wrote: How did you go to the page that included the login page, if you included it in the tiny_edit.php (which is the routine that sets the cookie in the browser, you need to cause the browser to send it back to you by doing a redirect;

Re: [PHP] problem with include()

2004-11-01 Thread Jason Davis
On Mon, 2004-11-01 at 16:26, Brad Dameron wrote: On Mon, 2004-11-01 at 15:17, Jason Davis wrote: sc.php ?php setCookie('data' , 'blah'); include 'gc.php'; ? gc.php ?php print $_COOKIE['data'] . -here; ? this is the out put of running sc.php -here why is

Re: [PHP] Problem with Regular expression

2004-10-28 Thread Curt Zirzow
* Thus wrote kioto: Hi all. I have a problem: i want subs any characters from a string but i don't have fix the problem. The string that i want to manipulate is the value from a text field of a search engine. The characters that i want to try substitute is , , +, -, |, ||, or, and, not

Re: [PHP] Problem with Regular expression

2004-10-27 Thread Francisco M. Marzoa Alonso
Try with \s instead of \b, I meant: $pattern = /(\sand\s)|(\snot\s)|(\sor\s)|(\s\s)|(\s\s)|(\s\.\s)|(\s\+\s)|(\s\|\|\s)|(\s\|\s)/i; kioto wrote: Hi all. I have a problem: i want subs any characters from a string but i don't have fix the problem. The string that i want to manipulate is the value

Re: [PHP] Problem with Regular expression

2004-10-27 Thread Tom Rogers
Hi, Wednesday, October 27, 2004, 9:04:14 PM, you wrote: k Hi all. k I have a problem: i want subs any characters from a string but i don't k have fix the problem. k The string that i want to manipulate is the value from a text field of a k search engine. k The characters that i want to try

Re: [PHP] Problem with file_exists() and clearstatcache()...

2004-10-25 Thread Louie Miranda
i also hve a similar problem like yours, and i dont know how can we solve this. On Wed, 21 Jul 2004 17:22:16 -0400, Scott Fletcher [EMAIL PROTECTED] wrote: I noticed the problem with the php functions, file_exists() and clearstatcache(). When I load a webpage, the php do the file_exists() and

Re: [PHP] problem using error_reporting() PHP 5.0.2 (cli)

2004-10-24 Thread Greg Donald
On Sun, 24 Oct 2004 16:41:16 +0530, Yashesh Bhatia [EMAIL PROTECTED] wrote: error_reporting(E_STRICT|E_ALL); This does appear broken. I was unable to get E_STRICT to work at all on my setup. PHP 5.02, and Apache 2.0.51. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/

Re: [PHP] problem using error_reporting() PHP 5.0.2 (cli)

2004-10-24 Thread Curt Zirzow
* Thus wrote Yashesh Bhatia: My question is why is the funtion call error_reporting(E_ALL|E_STRICT); not enabling E_STRICT at runtime ? manual set_error_handler Note: The following error types cannot be handled with a user defined function: E_ERROR, E_PARSE, E_CORE_ERROR,

Re: [PHP] problem using error_reporting() PHP 5.0.2 (cli)

2004-10-24 Thread Yashesh Bhatia
thanks. anyplace i can find which errors are reported by E_STRICT at runtime and which ones at compile time ? thx. yashesh bhatia. On Sun, 24 Oct 2004 15:24:34 +, Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Yashesh Bhatia: My question is why is the funtion call

Re: [PHP] problem with array

2004-10-19 Thread Minuk Choi
- Original Message - From: Dale Hersowitz [EMAIL PROTECTED] To: 'Minuk Choi' [EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 12:38 AM Subject: RE: [PHP] problem with array Minuk, After much searching and asking, I found the answer to my problem. It turns out that after re-attaching my

RE: [PHP] problem with array

2004-10-15 Thread Graham Cossey
Hi guys, Recently, I had to reformat one of the web servers and now I have encountered an unusual problem. I am not sure whether this is an issue which can be fixed in the .ini file or whether its specific to the version of php I am using. Here is the problem: $query=SELECT * FROM

[PHP] Re: : [PHP] Problem with MSSQL

2004-10-15 Thread Yusuf Tikupadang
I don't know if this can running on mssql. select limit m,n No, mssql can't do that. the only solution that i have is using cursor, but I can't use codecharge to do that (and need much more time to develop). Thanks for your idea. Best Regards, Yusuf Tikupadang -- PHP General Mailing List

[PHP] Re: : [PHP] Problem with MSSQL

2004-10-15 Thread Yusuf Tikupadang
I don't know if this can running on mssql. select limit m,n No, mssql can't do that. the only solution that i have is using cursor, but I can't use codecharge to do that (and need much more time to develop). Thanks for your idea. Best Regards, Yusuf Tikupadang -- PHP General Mailing List

Re: [PHP] Problem with MSSQL

2004-10-15 Thread Greg Donald
On Fri, 15 Oct 2004 12:42:21 +0700, Yusuf Tikupadang [EMAIL PROTECTED] wrote: I'm a new member in this mailing list. I have a problem with large data in mssql (more than 100.000 record in one table). If I want to browse it from record 10 until 19 (like when I press next button), php have to

Re: [PHP] Problem with MSSQL

2004-10-15 Thread Yusuf Tikupadang
Thanks, I will try it first On Fri, 15 Oct 2004 09:26:21 -0500, Greg Donald [EMAIL PROTECTED] wrote: http://pear.php.net/package/DB_Pager -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] problem with array

2004-10-14 Thread Jason Wong
On Friday 15 October 2004 09:58, Dale Hersowitz wrote: For some reason, on the last row, I am not unable to reference a particular index in the array using a php variable. This has been working for almost 12 months and now the coding is breaking all over the place. I don't have an answer. Any

Re: [PHP] problem with array

2004-10-14 Thread Minuk Choi
$selectedCol=$row[selectedCol]; echo $selectedCol; $selectedColName=$row[$selectCol]; //--- PLEASE NOTE THIS SPECIFIC ROW Please give me the output, what do you get from echo $selectedCol;? If I had to guess, it looks like you're confusing key and value of an associatative array.

RE: [PHP] Problem of varible

2004-10-11 Thread Jay Blanchard
[snip] (Bgetfile1.php (B (B? (Becho "File Name$B!'(J$upfile_nameBR"; (Becho "File Size$B!'(J$upfile_sizeBR"; (Becho "File Type$B!'(J$upfile_typeBR"; (Becho "Temp File$B!'(J$upfileBR"; (B (Bcopy($upfile, "/tmp/$upfile_name"); (B? (B[/snip] (B (Becho "File

Re: [PHP] Problem of varible

2004-10-11 Thread John Holmes
Jay Blanchard wrote: [snip] getfile1.php ? echo File Name$upfile_nameBR; echo File Size$upfile_sizeBR; echo File Type$upfile_typeBR; echo Temp File$upfileBR; copy($upfile, /tmp/$upfile_name); ? [/snip] echo File Name$_POST['upfile_name']BR; echo File Size$_POST['upfile_size']BR; echo File

Re: [PHP] Problem of varible

2004-10-11 Thread Curt Zirzow
* Thus wrote [EMAIL PROTECTED]: Form Action=getfile1.php Method=POST Enctype=multipart/form-data Input Type=File Name=upfile p Input Type=Submit value=Send /Form getfile1.php ... copy($upfile, /tmp/$upfile_name); ? Also use move_uploaded_file() instead.

Re: [PHP] Problem of varible

2004-10-11 Thread Matt M.
When disable the globals varibles function, the following php can't be good for working : this should point you in the right direction http://us2.php.net/manual/en/features.file-upload.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with a time comparison loop

2004-10-09 Thread Greg Donald
On Sat, 9 Oct 2004 14:51:01 +0100, Shaun [EMAIL PROTECTED] wrote: I am trying to create an outlook style day view calendar. I loop through the hours in the day (00:00 - 23:00) and compare it to a diary table for the user. If the users 1st appointment isnt until 10:00 then the hours print out

Re: [PHP] Problem with a while loop

2004-10-07 Thread djoseph
The following script would look like this when run 1 2 3 4 I needed it to look like this 1 2 3 You're going to want to use printf or sprintf to format the numbers. example: printf( %05d, $i ); this would print out your number, then left fill it will the zeros you

Re: [PHP] Problem with a while loop

2004-10-07 Thread Janet Valade
Richard Kurth wrote: I am having a problem with a while loop if I put in a number with 0's in front of it it converts the number two the first whole number. such as 1 would be 1 02200 would be 2200. Then it starts the count down starting with that number. How can I make it not remove the 0's

RE: [PHP] problem with file upload script

2004-09-27 Thread Jay Blanchard
[snip] Here is a script I'm using to upload files. Can anyone see anything wrong with it? No file is uploaded when I click the upload button [/snip] Start here http://us4.php.net/manual/en/features.file-upload.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] problem with header-dispotition in IE

2004-09-21 Thread Marek Kilimajer
adwinwijaya wrote: The error that I got just IE cannot download download.php from mysite.com .. IE was not able to open this site and bla bla bla. No hint in the error. I think the problem that I faced is with SSL. I try http://www.wazzup.co.nz/tutorials/protect_pdf/index.php and it didnt work on

Re: [PHP] problem with header-dispotition in IE

2004-09-20 Thread Marek Kilimajer
adwinwijaya wrote: Hi all ... I have script that looks like : if(file_exists($filename)){ $len = filesize($filename); //header(Content-type: attachment/pdf); header('Content-Type: application/pdf'); //header(Content-Type: application/octet-stream);

Re: [PHP] problem with header-dispotition in IE

2004-09-20 Thread Brad Pauly
On Mon, 20 Sep 2004 10:58:46 +0200, Marek Kilimajer [EMAIL PROTECTED] wrote: I suppose you are trying to force IE to download the pdf file, but it is always displaying it - you did not tell what is your problem. IE determines the type of file from the extension, if it is a known extension

Re: [PHP] Problem creating a date before 1970 on Fedora

2004-09-14 Thread Wouter van Vliet
On Mon, 13 Sep 2004 12:39:26 -0500, Greg Donald [EMAIL PROTECTED] wrote: On Mon, 13 Sep 2004 19:03:09 +0200, Wouter van Vliet [EMAIL PROTECTED] wrote: Howdy, I would assume this to be a common problem, but as I wrote to this list myself a couple of days ago I was only aware of it's

Re: [PHP] Problem creating a date before 1970 on Fedora

2004-09-14 Thread Christophe Chisogne
Wouter van Vliet a écrit : Note: The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that correspond to the minimum and maximum values for a 32-bit signed integer.) To avoid unix timestamps limits, dont reinvent the

Re: [PHP] Problem creating a date before 1970 on Fedora

2004-09-14 Thread Wouter van Vliet
On Tue, 14 Sep 2004 11:45:51 +0200, Christophe Chisogne [EMAIL PROTECTED] wrote: Wouter van Vliet a écrit : Note: The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that correspond to the minimum and maximum

Re: [PHP] Problem creating a date before 1970 on Fedora

2004-09-13 Thread Greg Donald
On Mon, 13 Sep 2004 19:03:09 +0200, Wouter van Vliet [EMAIL PROTECTED] wrote: Howdy, I would assume this to be a common problem, but as I wrote to this list myself a couple of days ago I was only aware of it's existence on windows systems. Here's some sample code 1 ?php 2

Re: [PHP] problem with Header(Location: home.php);

2004-09-10 Thread Chris Shiflett
--- CBharadwaj [EMAIL PROTECTED] wrote: In conection.php I have written. SESSION_ START(); on successful login I am registering a session variable. SESSION_REGISTER(userId); Do this instead: session_start(); $_SESSION['userid'] = 'myuser'; Header(Location: home.php); Use

Re: [PHP] problem with Header(Location: home.php);

2004-09-09 Thread Paul Waring
the following error occuring in above line. Warning: Cannot modify header information - headers already sent by (output started at E:\PHPMySql scripts\bugtrack\connection.php:3) in E:\PHPMySql scripts\bugtrack\index.php on line 117 Have you got any space before you output anything to the

Re: [PHP] problem with Header(Location: home.php);

2004-09-09 Thread Andre Dubuc
On Thursday 12 August 2004 07:48 pm, CBharadwaj wrote: Hello, In conection.php I have written. SESSION_ START(); ^ Get rid of extra space and it should work Hth, Andre on successful login I am registering a session variable. SESSION_REGISTER(userId); on

Re: [PHP] problem with header(Location:home.php)

2004-09-09 Thread Matt M.
the connection file I have included in every page. why this error is occuring? check E:\PHPMySql scripts\bugtrack\connection.php for white space before or after ?php ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with header(Location:home.php)

2004-09-09 Thread Pablo M. Rivas
look the line 3 of connection.php Good luck On Wed, 8 Sep 2004 16:43:54 -0700, CBharadwaj [EMAIL PROTECTED] wrote: Hello, In conection.php I have written. SESSION_ START(); on successful login I am registering a session variable. SESSION_REGISTER(userId); on login failure I am

Re: [PHP] problem with header(Location:home.php)

2004-09-09 Thread Alex Hogan
Warning: Cannot modify header information - headers already sent by (output started at E:\PHPMySql scripts\bugtrack\connection.php:3) in E:\PHPMySql scripts\bugtrack\index.php on line 117 the connection file I have included in every page. why this error is occuring? You are getting this

Re: [PHP] Problem with SSH output when called from apache

2004-09-07 Thread Jason Wong
On Tuesday 07 September 2004 08:16, Chandu Nannapaneni wrote: I want to capture the output of a certain remote command ( issued But when called from apache .. It's not giving any ouput. Does the logs on the ssh server indicate a successful login? [EMAIL PROTECTED] is well configured for ssh

Re: [PHP] Problem compiling PHP5

2004-09-07 Thread Curt Zirzow
* Thus wrote Paul Reinheimer: Hi, I am attempting to compile PHP with the following command: ./configure --with-mysql=/usr/local/mysql --with-apxs=/etc/httpd/bin/apxs --with-gd --with-png --with-zlib-dir=/root/zlib-1.2.1 --enable-gd-native-ttf --with-ttf

Re: [PHP] Problem compiling PHP5

2004-09-07 Thread Jim Grill
Hi, I am attempting to compile PHP with the following command: ./configure --with-mysql=/usr/local/mysql --with-apxs=/etc/httpd/bin/apxs --with-gd --with-png --with-zlib-dir=/root/zlib-1.2.1 --enable-gd-native-ttf --with-ttf --with-jpeg-dir=/usr/local/lib/jpeg-6b/

Re: [PHP] Problem compiling PHP5

2004-09-07 Thread Jim Grill
* Thus wrote Paul Reinheimer: Hi, I am attempting to compile PHP with the following command: ./configure --with-mysql=/usr/local/mysql --with-apxs=/etc/httpd/bin/apxs --with-gd --with-png --with-zlib-dir=/root/zlib-1.2.1 --enable-gd-native-ttf --with-ttf

Re: [PHP] Problem

2004-09-06 Thread Burhan Khalid
On Mon, 2004-09-06 at 11:03, Jorge wrote: I have a problem when I do login for go to the page of administration on my web, Go back and can't entry this is the code that control this. Where is the problem? Please read the Newbie Guide first before posting. WHat does your subject tell us about

Re: [PHP] Problem with SSH output when called from apache

2004-09-06 Thread Rasmus Lerdorf
On Mon, 6 Sep 2004, Chandu Nannapaneni wrote: I want to capture the output of a certain remote command ( issued thru a SSH session to a remote server) in PHP. The following code is working well when ran from the console Ex: php -q test.php ? passthru(/usr/bin/ssh -v -i

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-09-05 Thread Sam Hobbs
John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How about middle posting? I have noticed that usually when people say things like don't top post, the reasons provided for not doing it apply equally as much to bottom-posting. What they really maen is that they want us to

Re: [PHP] problem with using include to a URL

2004-09-01 Thread John Holmes
From: Tim Wolgemuth [EMAIL PROTECTED] Code that produces errors: ?php fopen(http://somewebhost.domain.gTLD/index.html;, r); $httpfile = file_get_contents(http://somewebhost.domain.gTLD/index.html;); include 'http://somewebhost.domain.gTLD/index.html'; ? Errors: Warning:

Re: [PHP] problem with using include to a URL

2004-09-01 Thread Tim Wolgemuth
We do have allow_url_fopen set to be on. I can not find any docs. on allow_burl_fopen. Was that a typo or where can I find info for that variable? PHP is working fine if we do the includes like this: include '/somepath/somefile.php'; The URL that we are trying to get to is on the same box.

Re: [PHP] problem with using include to a URL

2004-09-01 Thread John Holmes
From: Tim Wolgemuth [EMAIL PROTECTED] We do have allow_url_fopen set to be on. I can not find any docs. on allow_burl_fopen. Was that a typo or where can I find info for that variable? sorry, that was a typo. Apparently my spell checker thinks burl is a better word than url. :) PHP is

Re: [PHP] problem with using include to a URL

2004-09-01 Thread Tim Wolgemuth
This is the way that the customer waits to do it. Here is the sample code that is being included: ? print this is a test2BR; ? Tim John Holmes wrote: From: Tim Wolgemuth [EMAIL PROTECTED] We do have allow_url_fopen set to be on. I can not find any docs. on allow_burl_fopen. Was that a typo

Re: [PHP] problem with using include to a URL

2004-09-01 Thread John Holmes
From: Tim Wolgemuth [EMAIL PROTECTED] This is the way that the customer waits to do it. Here is the sample code that is being included: ? print this is a test2BR; ? Well tell the customer he's wrong! ;) Seriously... what if you try something like include('http://www.google.com'), does that

Re: [PHP] Problem making on RHEL v3

2004-09-01 Thread Curt Zirzow
* Thus wrote Ben Ramsey: I'm having a problem with PHP 4.3.8 failing to 'make' on a RedHat Enterprise Linux ES v.3 machine. Here's the make error: -o libphp4.la ext/pcre/pcrelib/maketables.lo: file not recognized: File truncated collect2: ld returned 1 exit status make: *** [libphp4.la]

Re: [PHP] Problem making on RHEL v3

2004-09-01 Thread Ben Ramsey
Still having the same problem with PCRE. Here's the error I get now: -c /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c -o ext/pcre/php_pcre.lo /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c: In function `php_pcre_match': /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c:413: `PCRE_INFO_NAMECOUNT' undeclared

Re: [PHP] Problem making on RHEL v3

2004-09-01 Thread Ben Ramsey
All right, so I did something smart for a change... I went to ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ and grabbed pcre 4.5 and installed it. My distro has the RPMs for pcre 3.9 installed, so I don't know what the problem was, but I configured PHP --with-pcre-regex=/usr/local

Re: [PHP] problem with using include to a URL

2004-09-01 Thread Tim Wolgemuth
When I run it from the command line it works. But if I run it through Apache it does not work. Tim John Holmes wrote: From: Tim Wolgemuth [EMAIL PROTECTED] This is the way that the customer waits to do it. Here is the sample code that is being included: ? print this is a test2BR; ? Well

Re: [PHP] Problem sending mail

2004-08-30 Thread Jason Wong
On Tuesday 31 August 2004 05:02, Zoran Lorkovic wrote: $file = file_get_contents(text.inc); $start = [start]; $end = [/end]; $pos_start = strpos ($file, $start); $pos_end = strpos ($file, $end); $data = substr ($file, $pos_start, $pos_end); mail ([EMAIL PROTECTED],

Re: [PHP] Problem with str_replace

2004-08-29 Thread John Nichel
Francisco Javier Escoppinichi Fernández wrote: Hello people... I have a little problem here... I hope you can help me... I'm building a simple template system for a web site, and I created some tags in a .html file that I read using the file_get_contents() function. The tags I created are

Re: [PHP] Problem with str_replace

2004-08-29 Thread Francisco Javier Escoppinichi Fernández
On Sun, 29 Aug 2004 19:36:49 -0400, John Nichel [EMAIL PROTECTED] wrote: Francisco Javier Escoppinichi Fernández wrote: Hello people... I have a little problem here... I hope you can help me... I'm building a simple template system for a web site, and I created some tags in a .html

Re: [PHP] Problem with str_replace

2004-08-29 Thread Thomas Goyne
On Sun, 29 Aug 2004 17:45:05 -0600, Francisco Javier Escoppinichi Fernández [EMAIL PROTECTED] wrote: On Sun, 29 Aug 2004 19:36:49 -0400, John Nichel [EMAIL PROTECTED] wrote: Francisco Javier Escoppinichi Fernández wrote: Hello people... I have a little problem here... I hope you can help

Re: [PHP] Problem with str_replace

2004-08-29 Thread John Holmes
Francisco Javier Escoppinichi Fernndez wrote: str_replace({contenido}, $this-buffer, $this-html); str_replace({tituloSeccion}, $this-titulo, $this-html); You have to capture the results of str_replace()... it returns the string back to you... $this-html =

Re: [PHP] Problem with str_replace

2004-08-29 Thread Francisco Javier Escoppinichi Fernández
Hah! Beginner's mistake! I think I need some rest... I'm skipping some basic details :) *PROBLEM SOLVED* Thank you people... -- Francisco Javier Escoppinichi Fernández Email: [EMAIL PROTECTED] Web: http://www.fire-dragon.net/ MSN: [EMAIL PROTECTED] Cel: 044 (612) 348 91 00 Sólo hay 3 cosas

Re: [PHP] Problem with str_replace

2004-08-29 Thread John Nichel
Francisco Javier Escoppinichi Fernández wrote: snip function Show() // This function outputs the final HTML. It's called by another module. { str_replace({contenido}, $this-buffer, $this-html); str_replace({tituloSeccion}, $this-titulo, $this-html);

Re: [PHP] Problem with str_replace

2004-08-29 Thread John Nichel
John Holmes wrote: Francisco Javier Escoppinichi Fernndez wrote: str_replace({contenido}, $this-buffer, $this-html); str_replace({tituloSeccion}, $this-titulo, $this-html); You have to capture the results of str_replace()... it returns the string back to you... $this-html =

Re: [PHP] Problem with sessions

2004-08-28 Thread gregosh
Yes, that indeed was a typo but only in my message above. It's not the problem with the script Uzytkownik Andre Dubuc [EMAIL PROTECTED] napisal w wiadomosci news:[EMAIL PROTECTED] Hi, Looking at your code, I noticed that either you're missing the closing double quote to close off the Location

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-27 Thread Jason Wong
On Friday 27 August 2004 09:00, Gunter Sammet wrote: Yes. All my local stuff does work like a charm. I'm working with osCommerce shopping cart and all my local installs work just fine. And as I said, when I compare it with a local install, the files don't show anything unusual. Based on the

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-27 Thread Jason Wong
On Friday 27 August 2004 12:40, Curt Zirzow wrote: * Thus wrote John Nichel: John Holmes wrote: Curt Zirzow wrote: Top posting is like this. How about middle posting? Please don't top post. Hehe.. thats pretty good :) Lets see if someone can decipher this top post to a context

Re: [PHP] Problem with sessions

2004-08-27 Thread gregosh
you sure the cookie is being set? try this header(Location: http://; . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/b.php?'.SID); I had tried this before - no result. The cookie is set in the \temp dir where it is intended. And that's

Re: [PHP] Problem with sessions

2004-08-27 Thread Andre Dubuc
Hi, Looking at your code, I noticed that either you're missing the closing double quote to close off the Location expression, or you're ending it early with a double quote at http://;. Shouldn't it read: header(Location: http://' . $_SERVER['HTTP_HOST'] ^

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-27 Thread Gunter Sammet
Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Friday 27 August 2004 09:00, Gunter Sammet wrote: Yes. All my local stuff does work like a charm. I'm working with osCommerce shopping cart and all my local installs work just fine. And as I said, when I compare it

RE: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Jay Blanchard
[snip] I downloaded files via FTP from a site published with FrontPage and active Front Page extensions. When I try to run them on my local machine, php files are not recognized and parsed by Apache. IE gives me the save to dialog and Mozilla displays binary garbage. Checking the FTP log, it says

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Gunter Sammet
I stripped out all the front page files and if I compare files frin a wirjubg ubstakk with WinMerge, it tells me that they are identical (at least all of the unmodified files). Can't find any invisible caracters with WinMerg in the not identical files. How does the php parser or Apache determine

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Jason Wong
Please do not top post. On Friday 27 August 2004 02:58, Gunter Sammet wrote: I stripped out all the front page files and if I compare files frin a wirjubg ubstakk with WinMerge, it tells me that they are identical (at least all of the unmodified files). Can't find any invisible caracters with

Re: [PHP] Problem using fread with https

2004-08-26 Thread Justin Patrin
On Thu, 26 Aug 2004 14:40:46 -0700, Pablo Gosse [EMAIL PROTECTED] wrote: Hi folks. I'm getting the following error when attempting to use PEAR::HTTP_Request to check the existence of a file. It's throwing an error from fread on an https stream: Warning: fread(): SSL: fatal protocol error

Re: [PHP] Problem using fread with https

2004-08-26 Thread Curt Zirzow
* Thus wrote Pablo Gosse: Hi folks. I'm getting the following error when attempting to use PEAR::HTTP_Request to check the existence of a file. It's throwing an error from fread on an https stream: Warning: fread(): SSL: fatal protocol error in /u0/local/lib/php/Net/Socket.php on line

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Gunter Sammet
Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Please do not top post. What do you mean by top post? On Friday 27 August 2004 02:58, Gunter Sammet wrote: I stripped out all the front page files and if I compare files frin a wirjubg ubstakk with WinMerge, it tells me

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Curt Zirzow
Top posting is like this. * Thus wrote Gunter Sammet: Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Please do not top post. What do you mean by top post? Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread John Holmes
Curt Zirzow wrote: Top posting is like this. Please don't top post. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Problem using fread with https

2004-08-26 Thread Curt Zirzow
* Thus wrote Justin Patrin: On Thu, 26 Aug 2004 14:40:46 -0700, Pablo Gosse [EMAIL PROTECTED] wrote: Hi folks. I'm getting the following error when attempting to use PEAR::HTTP_Request to check the existence of a file. It's throwing an error from fread on an https stream: Warning:

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread John Nichel
John Holmes wrote: Curt Zirzow wrote: Top posting is like this. How about middle posting? Please don't top post. -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Curt Zirzow
* Thus wrote John Nichel: John Holmes wrote: Curt Zirzow wrote: Top posting is like this. How about middle posting? Please don't top post. Hehe.. thats pretty good :) Lets see if someone can decipher this top post to a context post to a middle post to a who knows what post ;)

Re: [PHP] Problem with sessions

2004-08-26 Thread Matt M.
but when I use PHP's header(location: b.php); expression a new session is created and the data from the previous one is lost. Anyone familiar with this problem? Any known solutions? It's been really driving me nuts! you sure the cookie is being set? try this header(Location: http://; .

<    4   5   6   7   8   9   10   11   12   13   >