Re: [PHP] OT- "Private Registrations" for Domains

2002-11-22 Thread Hugh Danaher
Did you register just to plug this? - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 22, 2002 9:02 PM Subject: [PHP] OT- "Private Registrations" for Domains > Has anyone heard of or used somthing like this, just received this notice from my reg

Re: [PHP] FAQ a good idea?

2002-11-22 Thread Justin French
Ahhh -- now i get ya!! Many thanks! Justin French http://Indent.com.au Web Development & Graphic Design it's right now :P -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: dynamic arraynames

2002-11-22 Thread Kyle Gibson
Please can someone offer an idea. I am trying to generate arrays to hold inputs to columns. Column titles are input to a table as needed. They are read by the program and placed across the page. Then an array goes under each column name to collect the inputs to the various rows. Everything wo

[PHP] extension can't be found

2002-11-22 Thread liug
I just compiled/installed apache/php4.2.3 with postgres support. the default php.ini-dist is used. I added extension=pgsql.so but when I start apache, error_log shows it can't find pgsql.so. after some trial and error, I found the following line in the default php.ini causes the problem: extensio

Re: [PHP] php teleprogramming -- How to avoid being ripped off ?

2002-11-22 Thread Justin French
Sorry to hear things went down that way, but it 's been discussed many times before on the list... the key ingredients seem to be: 1. get a contract in writing to begin with 2. provide estimates of the time required, and UPDATE THESE ESTIMATES as the brief changes, so that they know that every "l

[PHP] dynamic arraynames

2002-11-22 Thread Floyd Baker
Please can someone offer an idea. I am trying to generate arrays to hold inputs to columns. Column titles are input to a table as needed. They are read by the program and placed across the page. Then an array goes under each column name to collect the inputs to the various rows. Everything w

[PHP] Re: Creating file & file permissions

2002-11-22 Thread Kyle Gibson
Hi All I'm trying to create temp files with my script. I'm using the line $fp = fopen("users/temp123", "w+"); which produces the follow error Warning: fopen("users/temp123", "w+") - Permission denied in /webSite/signup.php on line 71 How do I get around this?? Make sure the 'users' directory

[PHP] Creating file & file permissions

2002-11-22 Thread Kris
Hi All I'm trying to create temp files with my script. I'm using the line $fp = fopen("users/temp123", "w+"); which produces the follow error Warning: fopen("users/temp123", "w+") - Permission denied in /webSite/signup.php on line 71 How do I get around this?? Thanks Kris -- PHP General M

[PHP] php-general-sc.1038023148.idenoodlappkeegnpbpb-linux=ctgu.edu.cn@lists.php.net

2002-11-22 Thread Liaus
Do you know ÈýÏ¿·Éºè? Powered by CTGU MAIL, Inc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Who can tell me how I can get the client's hostname by php?

2002-11-22 Thread Joskey Liaus
Thank you for reading my mail! -- Who can tell me how I can get the client's hostname by php? -- Joskey Liaus

[PHP] Re: Who can tell me how I can get the client's hostname by php?

2002-11-22 Thread Arcadius A.
"Joskey Liaus" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Thank you for reading my mail! > -- > Who can tell me how I can get the client's hostname by php? > -- >

[PHP] Who can tell me how I can get the client's hostname by php?

2002-11-22 Thread Joskey Liaus
Thank you for reading my mail! -- Who can tell me how I can get the client's hostname by php? -- Joskey Liaus

Re: [PHP] sessions and trans-sid problem/question

2002-11-22 Thread Michael Sims
On Fri, 22 Nov 2002 15:08:31 +0100, you wrote: >I don't think the session handler checks session expiry - only gc does. I >haven't checked the PHP sources yet, but I found out that on my development >server (where we definetely don't have a lot of traffic ;->) session files >can persist over night

[PHP] OT- "Private Registrations" for Domains

2002-11-22 Thread spud
Has anyone heard of or used somthing like this, just received this notice from my registrar? - Dear Valued Customer, Great news! We now offer Private Registrations. What is a private registration? A private registration allows you to shield your personal information from the WhoIs databa

[PHP] php teleprogramming -- How to avoid being ripped off ?

2002-11-22 Thread Axis Computers
Hi to all fellow collegues, Here is the story, a while ago I've signed an NDA with a company from Los Angeles, the agreement was for programming (PHP, Perl, Java, Javascript), designing and other tasks, and payment was established on a fixed hourly rate, the guy in charge, was very impatient and I

Re: [PHP] Linux and Apache

2002-11-22 Thread Peter Janett
Or, if you don't have access to the main httpd.conf file, just put a DirectoryIndex line in a .htaccess file in your root folder that lists all possible indexes, followed by your default front page: DirectoryIndex index.html index.shtml index.htm index.php index.php3 /index.php So, if non of the

[PHP] Post again. question about Animated GIF

2002-11-22 Thread Heo, Jungsu
Hello~. I made a PHP script which resize GIF Image. But, Animated GIF don't Animate ;-( Manual says 'use imagecolortransparent() to format GIF89'. But, I don't know how to use imagecolortransparent() ... Somebody Help me~ My code likes follows # cut here #

Re: [PHP] Opening a socket and sending GET data

2002-11-22 Thread Todd Cary
Chris - Before PHP 4 came out, I needed to branch to a page from within the code (I know you can now cache the page).  So, I have many applications out there using my POST version which has work flawlessly.  Then I decided that in some cases, I would like to use the GET (saves me checking to s

RE: [PHP] preg_replace wierdness

2002-11-22 Thread John W. Holmes
> Code snippet -> > > header('Content-type: text/plain'); > > $foo = ' '; > > echo "$foo\n"; > > > $path = '../../../'; > $bar = preg_replace('/()/', "$1" . $path . "$2", $foo); > > echo $bar; It's being greedy. Your pattern is matching ( ) and inserting $path between the two. Use $bar

[PHP] preg_replace wierdness

2002-11-22 Thread Gerard Samuel
Code snippet -> header('Content-type: text/plain'); $foo = ' '; echo "$foo\n"; $path = '../../../'; $bar = preg_replace('/()/', "$1" . $path . "$2", $foo); echo $bar; ?> The second image doesn't get affected by preg_replace(). But if I break $foo into multiple lines like -> $foo = '

Re: [PHP] Opening a socket and sending GET data

2002-11-22 Thread Chris Shiflett
Your request looks fine. What are you doing with $query once you have constructed it? Another question worth asking is what is your ultimate goal here? I'm not sure performing a manual request is necessary, but maybe it is. Chris --- Todd Cary <[EMAIL PROTECTED]> wrote: > # now we build our qu

Re: [PHP] Re: put result of "include" into a variable

2002-11-22 Thread Ernest E Vogelsinger
One thing - be warned that some sites (esp. M$) send a redirect at the index (or default) pages... the fopen() will not honor this redirect. Using cUrl would be a better way to handle this, IMHO. -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -

Re: [PHP] put result of "include" into a variable

2002-11-22 Thread Ernest E Vogelsinger
At 23:36 22.11.2002, Patrick Anderson at TUE said: [snip] >For some (strange, I know) reason I would like to copy the content of a >webpage into a database. > >I would like to have code like > >$whocares = include ("http://www.microsoft.nl";); >$query = "inse

Re: [PHP] session trouble

2002-11-22 Thread Chris Shiflett
The best thing you can do is read the error message and examine the line(s) in question. You have output in file D:\sites\inc\register.inc on line 23. That file is included in file D:\sites\uyelik\login.php on line 90. At least, that's how I interpret that message. The one thing the error message

RE: [PHP] session trouble

2002-11-22 Thread Rich Gray
I don't know which version of PHP you are using but if v4.2.x upwards then use session_start() and the $_SESSION[] superglobal array instead of session_register(). Your warning is because you have either started output of HTML or you have some blank lines in your PHP scripts before the session rela

Re: [PHP] Opening a socket and sending GET data

2002-11-22 Thread Todd Cary
Chris - I seem close, but I am still getting a clobbered "page".  For debugging, I sent the query to a file so that I can check it moer accurately and this is what I am getting (for readability, I added the CRLF after the "?" in this email): GET http://209.204.172.137:80/_calendar/php/selecte

RE: [PHP] How do I initialize a page to do something ONCE

2002-11-22 Thread @ Nilaab
Jason Wong and Larry Brown, Nevermind, it's working now. Not sure how. I performed the same test many times, but this time when I tried it, it worked. It might be that I manually deleted the older session variables. I did read the notes on php.net for session_unset(), very informative. Thanks to b

Re: [PHP] Linux and Apache

2002-11-22 Thread Ernest E Vogelsinger
At 23:11 22.11.2002, conbud said: [snip] >Hi. I spent the last 3 days looking through the apache docs to figure out >how to disable directory listing. I can disable the directory listing to my >images folder but then all the images on the site dont work. I tr

[PHP] Re: Linux and Apache

2002-11-22 Thread Nick Eby
i think you have to have an Options directive set for a particular directory to turn on or off the directory listing page. the particular feature in question is called Indexes. check out this page for more info: http://httpd.apache.org/docs/mod/core.html#options for example, to disable indexes

[PHP] Re: put result of "include" into a variable

2002-11-22 Thread Kyle Gibson
For some (strange, I know) reason I would like to copy the content of a webpage into a database. I would like to have code like $whocares = include ("http://www.microsoft.nl";); $query = "insert into html values ($whocares,...)"; .. However, include can not copy the content to a variable. Does a

RE: [PHP] Simple RegExp Problem...

2002-11-22 Thread @ Nilaab
Thanks again Ernest! This will be extremely helpful to me in the near future. - Nilaab > -Original Message- > From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 22, 2002 3:23 PM > To: @ Nilaab > Cc: Php-General > Subject: RE: [PHP] Simple RegExp Problem... > >

[PHP] put result of "include" into a variable

2002-11-22 Thread Patrick Anderson at TUE
Hi, For some (strange, I know) reason I would like to copy the content of a webpage into a database. I would like to have code like $whocares = include ("http://www.microsoft.nl";); $query = "insert into html values ($whocares,...)"; .. However, include can not copy the content to a variable. D

RE: [PHP] easy things - forms, variable sending

2002-11-22 Thread Rich Gray
Hi Some suggestions below... Cheers Rich >This is a trivial question - what function can I use to automatically >proceed to some link, one that can be executed without any user input. header('Location: http://www.newurl.blah') >How can we, most efficiently, send all the data (variables) from on

RE: [PHP] session trouble

2002-11-22 Thread Van Andel, Robert
Make sure that you have nothing before mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 2:22 PM To: [EMAIL PROTECTED] Subject: [PHP] session trouble hi guys ; I can't use session bla..as on my site. PHP Code ... Warning: Cannot send session cache limiter - headers

[PHP] session trouble

2002-11-22 Thread empty
hi guys ; I can't use session bla..as on my site. PHP Code ... Warning: Cannot send session cache limiter - headers already sent (output started at D:\sites\inc\register.inc:23) in D:\sites\uyelik\login.php on line 90 I cant understand and solve the warning message, what is it? thanks all.

RE: [PHP] easy things - forms, variable sending

2002-11-22 Thread Van Andel, Robert
This can be done with JavaScript I don't think there is a way to do it with PHP since PHP is a server side application. Robbert van Andel -Original Message- From: Krzysztof Wozniak [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 2:18 PM To: [EMAIL PROTECTED] Subject: [PHP]

[PHP] easy things - forms, variable sending

2002-11-22 Thread Krzysztof Wozniak
Hi, This is a trivial question - what function can I use to automatically proceed to some link, one that can be executed without any user input. How can we, most efficiently, send all the data (variables) from one page to another? Also, would you happen to know, as PHP is very often used in f

[PHP] Linux Question

2002-11-22 Thread conbud
Hey. This really isnt a PHP question. but what fonts do you reccomend using so they look decent on linux. Mainly looking for a good font that will look nice in MoZilla and Galeon. Almost all the fonts Ive used so far appear really tiny or really bold and not very good to read. -Lee -- PHP Gene

[PHP] Linux and Apache

2002-11-22 Thread conbud
Hi. I spent the last 3 days looking through the apache docs to figure out how to disable directory listing. I can disable the directory listing to my images folder but then all the images on the site dont work. I tried using Allow from mydomain and Allow from localhost Allow from 127.0.0.1 I even t

Re: [PHP] grabbing data from a site

2002-11-22 Thread Adam
someone gave me the following expression which uses another program and it works fine for them... is there something similar with php? wget --timeout=90 -q -O- http://www.BoM.GOV.AU/products/IDO30V01.shtml | sed '1,/>Melbourne //;s/<.*//' thanks, adam. "Evan Nemerson" <[EMAIL PROTECTED]> wrote i

[PHP] PHP Magick version 0.4a Released!

2002-11-22 Thread Michael Montero
Just released the next version of magick, the PHP ImageMagick extension. It's now available as this URL: http://magick.communityconnect.com/ Here are the latest changes: o functions added: magick_writeimages() magick_destroyhandle() magic

Re: [PHP] CCO

2002-11-22 Thread Ernest E Vogelsinger
At 17:36 22.11.2002, Cesar Aracena said: [snip] >Now, I usually use a very comfortable way to configure e-mails by >setting all the $vaiables first and then adding a mail() function at the >bottom, but I never used a CCO target variable and never less a loop

Re: [PHP] grabbing data from a site

2002-11-22 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If the target is in well-formed XML (XHTML is an example), you could use XSLT to say 'i want the third column of a particular row - in this instance, Melbourne'. However, since few people actually adhere to standards, you're probably going to need a

Re: [PHP] Opening a socket and sending GET data

2002-11-22 Thread Chris Shiflett
--- Todd Cary <[EMAIL PROTECTED]> wrote: > I must be missing something because when I execute the > following code, open the socket, and send the query, > the form that the info is going to gets created but it > is corrupted. Do you see any obvious error? Yes, I do. It was likely due to a misinte

[PHP] grabbing data from a site

2002-11-22 Thread Adam
I have the following website that i want to grab info from: http://www.bom.gov.au/products/IDV60034.shtml Say I wanted the current temperature for Melbourne from this table, what line of code would I need to tell it to get that info - ie, an ereg() expression... i'm wondering whether there are w

Re: [PHP] Opening a socket and sending GET data

2002-11-22 Thread Todd Cary
Chris - I must be missing something because when I execute the following code, open the socket, and send the query, the form that the info is going to gets created but it is corrupted.  Do you see any obvious error? Todd         if (!empty($request)) {       $path = $path . "?" . urlenco

RE: [PHP] Simple RegExp Problem...

2002-11-22 Thread Ernest E Vogelsinger
At 21:59 22.11.2002, @ Nilaab said: [snip] >Thanks so much!!! It works. I didn't know I could also place extra >characters inside the brackets to specify what I want. :) [snip] The square brackets simply form a group

Re: [PHP] Keywords in includes

2002-11-22 Thread 1LT John W. Holmes
--- I am moving my website over to PHP but there are two things I'm not sure of. First: Do search engines find their keywords if they are in an include instead of the main PHP file? (strictly speaking, I think they are not really in the URL you gave them) In other words, do

[PHP] Keywords in includes

2002-11-22 Thread Alberto Brea
I am moving my website over to PHP but there are two things I'm not sure of. First: Do search engines find their keywords if they are in an include instead of the main PHP file? (strictly speaking, I think they are not really in the URL you gave them) In other words, does it read the source code

Re: [PHP] writing to a file

2002-11-22 Thread Morgan Hughes
On Fri, 22 Nov 2002, Jason Wong wrote: > On Friday 22 November 2002 16:34, gamin wrote: > > Hello, > > file as the data is being written, not when the file is closed > I think you should try fclose() the file before you die! Or, if you need to force the data out to disk while writing, use fflu

RE: [PHP] Simple RegExp Problem...

2002-11-22 Thread @ Nilaab
Thanks so much!!! It works. I didn't know I could also place extra characters inside the brackets to specify what I want. :) > -Original Message- > From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 22, 2002 7:19 AM > To: @ Nilaab > Cc: Php-General > Subject: R

[PHP] Recommendations for PHP/MySQl calendar & on-line submission/voting

2002-11-22 Thread Merritt, Dave
All, I working with helping our local high school technical center set up a web server/site. Went with the typical AMP solution (unfortunately on MSWin though). The center is wanting to add an on-line calendar system. This doesn't need to be anything fancy, just something that will display a mo

[PHP] writing functions to preform mysql queries

2002-11-22 Thread Beau Hartshorne
Hi, I'm trying to separate my database query code from my application logic. I want to do this by creating a small application-level library with functions that INSERT, DELETE and UPDATE specific information in a mysql database. So I created a file called news_mysql.lib.php and put it in a /libra

Re: RES: [PHP] RE: How to cache PHP on Apache

2002-11-22 Thread Chris Shiflett
Well, my explanation was not complete, because I wanted to make sure I was talking about the right thing. :-) One important thing I failed to mention is that caching applies to responses to GET and HEAD requests. If the response you showed us was a reply to a POST, it is not going to be cached. A

[PHP] Re: Php search results

2002-11-22 Thread Alex
you could also use regular expressions, but php isn't perl, so good luck on that one :p. "Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You could use strstr() to find the index location of the > string searched for in FIELD. Then use substr

Re: [PHP] Newbie mail () question

2002-11-22 Thread Steve Keller
At 11/22/2002 04:30 PM, Duncan Ellwood wrote: Can I personalise this a bit to display the From: as the email address that the user has supplied i.e $Email You can specify the "FROM" field in the headers before you call the mail() function. It's all in the manual. http://www.php.net/manual/

Re: [PHP] Session Problem

2002-11-22 Thread 1LT John W. Holmes
Is it your register_globals setting? ---John Holmes... - Original Message - From: "Cesar Aracena" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 22, 2002 2:59 PM Subject: [PHP] Session Problem Hi all, I'm having this strange issue with a remote server. I'm trying to

Re: [PHP] Session Problem

2002-11-22 Thread Marek Kilimajer
Seems like the remote server has register_globals off. You must use $_GET, $_POST, $_SESSION ... Cesar Aracena wrote: Hi all, I'm having this strange issue with a remote server. I'm trying to create a session control for administrative use which works fine in my PC but once I upload these scri

Re: [PHP] FAQ a good idea?

2002-11-22 Thread Vincent Vandemeulebrouck
> An about register globals post bi-weekly would eliminate tons of questions I > reckon. But maxim is also right. People should find their own info and a faq > could dominate the group... The fact you must call session_start before sending anything to the browser is another FAQ that would help.

[PHP] Session Problem

2002-11-22 Thread Cesar Aracena
Hi all, I'm having this strange issue with a remote server. I'm trying to create a session control for administrative use which works fine in my PC but once I upload these scripts to that server, it doesn't recognize the $username && $password variables and kick me right into the else{} of the log

Re: [PHP] mail() problem...

2002-11-22 Thread Duncan
Oh, i see. Thanks. Marek Kilimajer wrote: This header is added by mail server, so you must change the apache user. Duncan wrote: Hi, i wrote a helpdesk script, which can send the user emails, if requested. The helpdesk sends emails as "[EMAIL PROTECTED]", but some servers don't accept "no

Re: [PHP] mail() problem...

2002-11-22 Thread Sara Keesler
Hi, > The helpdesk sends emails as "[EMAIL PROTECTED]", but some servers > don't accept "nobody" as the sender! > do you know how i can change that? > i don't mean the "From:" header, but the real sender header of the email... I don't know if this is a good way to do things or not, but I have s

RES: [PHP] RE: How to cache PHP on Apache

2002-11-22 Thread Luanna Silva
Chris, your explanation was just what i needed to really understand my problem :-) For the moment, i want to cache the HTTP Response. So, if i´m correct, the header that i sent to the list should do the job. I have: Apache Web Server 1.3.x A Reverse Proxy The

Re: [PHP] ob_output

2002-11-22 Thread Chris Shiflett
You need to use flush() to try and send a chunked response that will display on the user's browser line at a time like that. Output buffering is fairly closely related I suppose, but it is a separate thing. As far as I know, you cannot flush() with output buffering started unless you end or flush

Re[2]: [PHP] ob_output

2002-11-22 Thread Uros Gruber
Hi! I changed it to ob_flush() and the problem still exist. Check the link and you'll se. http://www.kud-igen.si/link.php I have 3 apache servers and no one works as i want to. But iis makes no problems. -- bye, Uros Friday, November 22, 2002, 8:32:56 PM, you wrote: CW> On Fri, 22 Nov 200

Re: [PHP] ob_output

2002-11-22 Thread Chris Wesley
On Fri, 22 Nov 2002, Uros Gruber wrote: > ob_end_flush(); This turns off output buffering after flushing, the first time it gets called in the first iteration of your for() loop. > I can make this work on php and apache. I always get output > in one shot not line by line. If i try this code with

Re: [PHP] mail() problem...

2002-11-22 Thread Marek Kilimajer
This header is added by mail server, so you must change the apache user. Duncan wrote: Hi, i wrote a helpdesk script, which can send the user emails, if requested. The helpdesk sends emails as "[EMAIL PROTECTED]", but some servers don't accept "nobody" as the sender! do you know how i can cha

Re: [PHP] RE: How to cache PHP on Apache

2002-11-22 Thread Chris Shiflett
Luanna, This response allows caching, but the cached response is only considered fresh for one hour (which might be appropriate for you), as is determined by both the Expires header and the max-age attribute of the Cache-Control header. The Pragma header is defined under HTTP/1.0 and is only used

[PHP] ob_output

2002-11-22 Thread Uros Gruber
Hi! here is my test code "; ob_end_flush(); sleep(2); } ?> I can make this work on php and apache. I always get output in one shot not line by line. If i try this code with php and iis it works. What am i doing wrong. Do i have to tell apache to send line by line to browser not everything

[PHP] mail() problem...

2002-11-22 Thread Duncan
Hi, i wrote a helpdesk script, which can send the user emails, if requested. The helpdesk sends emails as "[EMAIL PROTECTED]", but some servers don't accept "nobody" as the sender! do you know how i can change that? i don't mean the "From:" header, but the real sender header of the email... e.g.

Re: [PHP] Opening a socket and sending GET data

2002-11-22 Thread Chris Shiflett
This is your same HTTP request using the GET method rather than POST to send the same data. GET http://209.204.172.137/_calendar/php/selectevent.php?pa_county=&reenter_page=1&sel_from_mo=November&sel_from_dy=22&sel_from_yr=2002&sel_to_mo=December&sel_to_dy=06&sel_to_yr=2002 HTTP/1.1 Host: 209.204.

Re: [PHP] phpUpLoad

2002-11-22 Thread Marek Kilimajer
in your shell or ftp type chmod 777 files Vicky wrote: I tried making the dir. 777 too, but it didn't work. How do I change the ownership of the dir? -Vicky - Original Message - From: "Adam Williams" <[EMAIL PROTECTED]> To: "Vicky" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Frid

Re: [PHP] Capturing multiple select with Javascript - nearly ther

2002-11-22 Thread Phoebe Bright
My original reply may have got lost in the sending, so thanks for the info in case you didn't receive it. Phoebe. Mike Ford wrote: -Original Message- From: Phoebe Bright [mailto:[EMAIL PROTECTED]] Sent: 19 November 2002 14:20 My remaining problem is that the array that PHP sees only ha

Re: [PHP] phpUpLoad

2002-11-22 Thread Morgan Hughes
On Fri, 22 Nov 2002, Adam Williams wrote: > You either need to make the directory 777 or change the ownership of the > dir to apache or nobody (depending on which user httpd runs as) > Adam ... or use a wrapper SUID to the user or group who owns the dir and have it wrap

[PHP] Opening a socket and sending GET data

2002-11-22 Thread Todd Cary
I am able to open a socket and send POST data, however I do not know the format of doing the same for the GET method.  Here is my POST Query: Query: POST http://209.204.172.137:80/_calendar/php/selectevent.php HTTP/1.0 Accept-Language: en-us Host: 209.204.172.137:80 Connection: close Content-

Re: [PHP] phpUpLoad

2002-11-22 Thread Vicky
I tried making the dir. 777 too, but it didn't work. How do I change the ownership of the dir? -Vicky - Original Message - From: "Adam Williams" <[EMAIL PROTECTED]> To: "Vicky" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, November 22, 2002 6:35 PM Subject: Re: [PHP] phpUpLoad

[PHP] Help Porting PHP Sites from Solaris to RedHat 7.3

2002-11-22 Thread Gary Smith
Hi All, I've been using PHP and FastTemplates for a couple of years on multiple platforms (Mac OSX, Win98, WinNT, Solaris). I've just installed RedHat 7.3 and FastTemplates doesn't work anymore. I get the message: Warning: Invalid content of \{\} in /var/www/cgi-bin/php/FastTemplate/class.FastTem

Re: [PHP] phpUpLoad

2002-11-22 Thread Adam Williams
You either need to make the directory 777 or change the ownership of the dir to apache or nobody (depending on which user httpd runs as) Adam On Fri, 22 Nov 2002, Vicky wrote: > Yup, both directorys are chmoded to 755. Lots of users are going to use this > script so... >

Re: [PHP] phpUpLoad

2002-11-22 Thread Vicky
Yup, both directorys are chmoded to 755. Lots of users are going to use this script so... I'm still not sure what's wrong or what to do hehe. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: How to cache PHP on Apache

2002-11-22 Thread Luanna Silva
My header looks just like this: HTTP/1.0 200 OK Date: Sat, 16 Nov 2002 16:45:29 GMT Server: Apache/1.3.20 (Win32) PHP/4.0.6 Cache-Control: public, max-age=3600 Expires: Sat, 16 Nov 2002 17:45:29 GMT X-Powered-By: PHP/4.0.6 Content-T

[PHP] Re: Newbie mail () question

2002-11-22 Thread Kyle Gibson
I have just built a simple formmail script that validates certain fields and then if alls well mails the information to the client's email addressand displays some confirmatin html. This is all fine except for one minor issue. When I collect the email to check it looks OK etc the header From : in O

Re: [PHP] phpUpLoad

2002-11-22 Thread Ray Hunter
Hint: Never change your directory or file to mod 777 that just invites hackers, plus it is a bad habit. The best thing is to make sure that your directory is owned by your apache server and that it is writeable for that user... Verify the user in your httpd.conf file and change the directory owne

Re: [PHP] phpUpLoad

2002-11-22 Thread Dev
Need to ensure that your web sever is able to write to the location. You may need to chmod the dir to 775 or even 777 hope that helps. At 04:35 PM 11/22/2002 +, Vicky wrote: Hi! I'm using phpUpLoad but when I try to upload a file I get this error - Warning: Unable to create '/home/silvers

Re: [PHP] phpUpLoad

2002-11-22 Thread 1LT John W. Holmes
> I'm using phpUpLoad but when I try to upload a file I get this error - > > Warning: Unable to create '/home/silversa/AC/files/Amber.pet': No such file > or directory in /home/silversa/public_html/AC/do_upload.php on line 9 > Couldn't copy file. > > I made a directory called "files" in the folder

[PHP] Re: [PHP-DB] Forums?

2002-11-22 Thread Stephen
www.invisionboard.com is great thought the skinning takes some getitng used to. If you aren't out for the absolute best like IB, go with XMB. http://www.xmbforum.com/. I haven't used it much but I hear it's easy to skin, features are great, and all that. The admin panel is kind of hard to use but

[PHP] phpUpLoad

2002-11-22 Thread Vicky
Hi! I'm using phpUpLoad but when I try to upload a file I get this error - Warning: Unable to create '/home/silversa/AC/files/Amber.pet': No such file or directory in /home/silversa/public_html/AC/do_upload.php on line 9 Couldn't copy file. I made a directory called "files" in the folder incase

RE: [PHP] Newbie mail () question

2002-11-22 Thread Cesar Aracena
Why don't you send your mailing code so the rest of us can see it, help you and maybe even learn something from you too... Cesar L. Aracena [EMAIL PROTECTED] [EMAIL PROTECTED] (0299) 156-356688 Neuquén (8300) Capital Argentina -Mensaje original- De: Duncan Ellwood [mailto:[EMAIL PROTECTE

[PHP] CCO

2002-11-22 Thread Cesar Aracena
Hi all, Before anything else, thanks for the answers to the last request of mine. Now, I'm trying to make a mailing script which is a very common task to do, but from this one, my client needs to send one e-mail to all the recipients stored in a DB every once in a while. I know that is best to sen

[PHP] Newbie mail () question

2002-11-22 Thread Duncan Ellwood
I have just built a simple formmail script that validates certain fields and then if alls well mails the information to the client's email addressand displays some confirmatin html. This is all fine except for one minor issue. When I collect the email to check it looks OK etc the header From : in O

Re: [PHP] PHP Coding HELP

2002-11-22 Thread Per Lundkvist
Ok, make a form for upload with maybe fields as well where the user can write how many time that file is supposed to be downloaded. After submit you store that information in a database (MySQL) and when downloading files you do it through another PHP-file where you can check how many times it has b

Re: [PHP] sessions and trans-sid problem/question

2002-11-22 Thread Chris Shiflett
Jean, This is a common challenge with a pretty easy solution. First, in case you are curious why the session can be reestablished, the bookmarked page likely has the session identifier in the query string. Thus, it is unnecessary for the browser to send a cookie, because it is sending the session

Re: [PHP] Re: SQLCODE=-930

2002-11-22 Thread Matthieu Le Corre
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 don't do !!! i've a working php 4.2.2 apache 2.0.43 with informix :D and Gd on a redhat 7. 2 ;) update your ifx SDK , il will be better ;) and Server status is working ;) Le Vendredi 22 Novembre 2002 15:39, Oliver Fänger a écrit : > i gave up > > t

Re: [PHP] Re: SQLCODE=-930

2002-11-22 Thread Oliver Fänger
i gave up to many problems for a productive site: - gd - need the patches from RH - php-4.2.3 and informix - if you use a own handler, the URI must exist e.g. http://site/own-handler/xyz causes 404 not found http://site/server-status/xyz results 200 php with httpd 2.0 is still: "--with-apxs2[=FILE

RE: [PHP] How do I initialize a page to do something ONCE

2002-11-22 Thread Larry Brown
Your first post stated.. > The only problem is that it is not processing the second if block -- if($start_over == 1) -- unless I actually set start_over=1 in the get string. > Your second sounds like it is executing the second block... >The variable $initialize contains "int(1)", so it does set i

Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Andreas Otto
Hi Ernest, On Friday 22 November 2002 16:11, Ernest E Vogelsinger wrote: > Is it possible to have SiteShield log what its doing? > > >The question is now: Has anyone heard about or had problems with the > >combination of PHP SiteShield and InternetExplorer? > > I don't know anything about SiteShie

Re: [PHP] ImageMagick Extension v0.2a Released (UPDATED)

2002-11-22 Thread Michael Montero
I believe there have been a few starts and stops with a module in the past but I haven't found anything with the complete feature set. I intend to do that. I am going to be looking for help in the future but I'd like to get the current stuff closer to my goal. There a number of things on the

Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Ernest E Vogelsinger
At 15:35 22.11.2002, Andreas Otto spoke out and said: [snip] >Well, guess what I did before writing this eMail ;-) That's what I have feared... >Every request to the server I experience this strange problem at has to pass >the SiteShield server. Is it pos

Re: [PHP] Order of arrays

2002-11-22 Thread Marek Kilimajer
Use usort Mako Shark wrote: I don't think a simple sort() will do this. Is there a way I can sort these following array values so that all will be in numerical order, and then alphabetical after that? I need Dirfiles/97 Dirfiles/98 Dirfiles/99 Dirfiles/100 Dirfiles/101 Dirfiles/102 Dirfiles/ABG

[PHP] php-4.3.0pre2, fgets and socket_get_status

2002-11-22 Thread Stephen Grier
An application I am developing contains something like the following: $this->socket = fsockopen($server, $port, $errnum, $errstr, "60"); ... while (!feof($this->socket)) { $char = fgets($this->socket,1); if (($char == "\n") || ($char == "\r")) return $buffer; } $buffer .=

Re: [PHP] Newbie: PHP/MySQL (SELECT)

2002-11-22 Thread Marek Kilimajer
if one of $titulotxt or $cdstxt is not set, your query will look something like this: SELECT * FROM divx WHERE && cds like '$cdstxt' ORDER BY titulo As you see, there is unnecessery &&. I build my search queries using this form: $query_cond=''; foreach($_GET as $col => $val) { switch($col)

  1   2   >