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

[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] 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

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

[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] 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] 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

[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

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] 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

[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] 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] 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] 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

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] 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

[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

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

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] sessions and trans-sid problem/question

2002-11-22 Thread Ernest E Vogelsinger
At 08:02 22.11.2002, Jean-Christian Imbeault said: [snip] >Is it because I am putting the SID in the URL? I haven't tested with >cookies yet as I want to get my site working without cookies first. Definetely yes. The PHP session is (with the default setup)

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

2002-11-22 Thread Jean-Christian Imbeault
Justin French wrote: PHP cannot possibly know when a user closes a window... PHP regularly "cleans out the garbage" of old abandoned sessions, but you cannot expect this instantly... True ... but the browser does. I think I would not have this problem using cookies since the cookie would expi

Re: [PHP] Getting info from users comp?

2002-11-22 Thread @ Edwin
Hello, "Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote: > So you're talking about a Trojan, do you? No, not really. I was talking about "legitimate" programs run by the users themselves. - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

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

2002-11-22 Thread Ernest E Vogelsinger
At 08:56 22.11.2002, Justin French said: [snip] >PHP cannot possibly know when a user closes a window... PHP regularly >"cleans out the garbage" of old abandoned sessions, but you cannot expect >this instantly... This is controlled by the session.gc_probabil

Re: [PHP] Getting info from users comp?

2002-11-22 Thread Ernest E Vogelsinger
At 09:17 22.11.2002, @ Edwin said: [snip] >Hello, > >"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote: > >> So you're talking about a Trojan, do you? > >No, not really. I was talking about "legitimate" programs run by the users >themselves. --

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

2002-11-22 Thread Jean-Christian Imbeault
Ernest E Vogelsinger wrote: Definetely yes. After reading Justin's post I realized that. What I usually do (I also have session cookies switched off) is to send the user a session cookie when he logs in. This way I can use cookieless sessions, but when it comes to sensitive areas I can be sur

[PHP] writing to a file

2002-11-22 Thread gamin
Hello, im running Red Hat 7.2 with PHP 4.0.6. How would i go about writing to a file as the data is being written, not when the file is closed #!/usr/bin/php -q i tried the above, while it is running but 't' comes up as a blank (seen using ls). How would i go about putting the contents in 't'

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

2002-11-22 Thread Jason Wong
On Friday 22 November 2002 07:26, [EMAIL PROTECTED] wrote: > Hello, > > I have a newbie problem. I have an php page that has many layers of forms > to it. Once the user is finished with filling out one form and sending it, > another form appears. This is of course done using simple if-else or switc

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

2002-11-22 Thread Jean-Christian Imbeault
Ernest E Vogelsinger wrote: This is controlled by the session.gc_probability value in your INI file I know I can probably find this in the documentation somewhere but ... how do I set the expire time on a session? Increasing this value will make this process more often, setting it to 100 will

Re: [PHP] Getting info from users comp?

2002-11-22 Thread @ Edwin
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote: > Of course it is possible for any application running locally to fetch any > data about your hardware - e.g. M$ does it with their semi-automatic bug > reporting feature (in Win XP). However you'd need hardware and OS specific > applications to a

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

2002-11-22 Thread Jason Wong
On Friday 22 November 2002 16:28, Jean-Christian Imbeault wrote: > Ernest E Vogelsinger wrote: > > This is controlled by the session.gc_probability value in your INI file > > I know I can probably find this in the documentation somewhere but ... > how do I set the expire time on a session? > > > In

Re: [PHP] writing to a file

2002-11-22 Thread Jason Wong
On Friday 22 November 2002 16:34, gamin wrote: > Hello, > > im running Red Hat 7.2 with PHP 4.0.6. How would i go about writing to a > file as the data is being written, not when the file is closed > > #!/usr/bin/php -q > > $fp=fopen('t', "a"); > if ($fp === false) > die("could not open file")

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

2002-11-22 Thread Jean-Christian Imbeault
Jason Wong wrote: If you set it 100, then _every_ request in which sessions are used, PHP has to go through all the session files (by default stored in /tmp) and check whether they have expired. If you have a busy server you could have thousands of session files. Checking thousands of files at

[PHP] Ip address as 32bit int?

2002-11-22 Thread Noodle Snacks
Is it easy enough to change a formated IP addy (eg 192.168.0.1) to the 32bit unsigned int that computers use? the reason I ask is because it is alot more efficient space wise in a db to be storing a 32bit number rather that a char or varchar field. Or am I going to run into trouble because all in

[PHP] FAQ a good idea?

2002-11-22 Thread Noodle Snacks
I think this group should have a regularly posted faq that outlines common problems such as register globals. I would be glad to help write it etc if anyone else would like an input. I wrote this in response to the millions of register global questions and the message with the subject "Be Nice to

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

2002-11-22 Thread Ernest E Vogelsinger
At 09:28 22.11.2002, Jean-Christian Imbeault said: [snip] >> This is controlled by the session.gc_probability value in your INI file > >I know I can probably find this in the documentation somewhere but ... >how do I set the expire time on a session? The se

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

2002-11-22 Thread Ernest E Vogelsinger
At 09:25 22.11.2002, Jean-Christian Imbeault said: [snip] >> What I usually do (I also have session cookies switched off) is to send the >> user a session cookie when he logs in. This way I can use cookieless >> sessions, but when it comes to sensitive areas

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

2002-11-22 Thread Ernest E Vogelsinger
At 09:28 22.11.2002, Jean-Christian Imbeault said: [snip] >> This is controlled by the session.gc_probability value in your INI file > >I know I can probably find this in the documentation somewhere but ... Forgot to add this (sorry): http://www.php.net/man

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

2002-11-22 Thread Jason Wong
On Friday 22 November 2002 16:44, Jean-Christian Imbeault wrote: > Jason Wong wrote: > > If you set it 100, then _every_ request in which sessions are used, PHP > > has to go through all the session files (by default stored in /tmp) and > > check whether they have expired. If you have a busy server

[PHP] PHP Version of Outlook????

2002-11-22 Thread Craig
Does Any one of a web based version of Microsoft Outlook/MSN Hotmail address book and scheduler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] FAQ a good idea?

2002-11-22 Thread Justin French
on 22/11/02 8:14 PM, Noodle Snacks ([EMAIL PROTECTED]) wrote: > I think this group should have a regularly posted faq that outlines common > problems such as register globals. This has been discussed many times too :) Last plan was to have it auto-posted to the subscriber when they sign up, plus

[PHP] page cannot be displayed after a post of form with over 80 post elements

2002-11-22 Thread B.C. Lance
hi guys, i am facing the above problem. i couldn't explain whats causing this behavior. however, those data does get posted to the server. only thing is that the result page is not showing up but the above error page. i have tested with 60+ post elements, but no error of such occur. any idea w

[PHP] checkboxes

2002-11-22 Thread empty
Hello; I want to do that: I have two checkboxes: if first one is checked assign the value as a; if first one is checked assign the value as s; if both of them checked assign th value as as and insert the result db; the html code: ... AAA SSS ... and the PHP code:

[PHP] Re: checkboxes

2002-11-22 Thread Bastian Vogt
hi, your missing some brackets "[]"! this should work better: AAA SSS regards, Bastian > Hello; > > I want to do that: > > I have two checkboxes: > if first one is checked assign the value as a; > if first one is checked assign the value as s; > if both of them checked assign

[PHP] Re: ScanMail Message: To Sender, sensitive content found and action taken.

2002-11-22 Thread Richard Allsebrook
John Homes is the name of a rather well endowed porn star :"> and I'm not making this up :-D -- Richard Allsebrook Applications and Web Development "John W. Holmes" <[EMAIL PROTECTED]> wrote in message 003901c291c9$056b0930$7c02a8c0@coconut">news:003901c291c9$056b0930$7c02a8c0@coconut... This tr

Re: [PHP] checkboxes

2002-11-22 Thread Ernest E Vogelsinger
At 12:16 22.11.2002, empty spoke out and said: [snip] >... > > AAA > > > SSS > >... > >and the PHP code: > >$eval=''; >if(isset($val)){ > if(isset($val[0]) && isset($val[1])) $eval="as"; > if(isset($val[0]) && !isset($val[1])) $eval="a"; > if(!isset($

[PHP] getting image names from a directoryindex of files

2002-11-22 Thread electroteque
hi i have fopen a directory of files and got the directoryindex as follows IMG_0005.jpg19-Nov-2002 18:18 180K IMG_0009.jpg19-Nov-2002 18:18 248K IMG_0010.jpg19-Nov-2002 18:18 373K IMG_0011.jpg19-Nov-2002 18:18 236K IMG_0012.jpg1

Re: [PHP] Ip address as 32bit int?

2002-11-22 Thread Joakim Andersson
In MySQL (and others?) you can use these two functions: INET_NTOA(expr) INET_ATON(expr) Regards Joakim - Original Message - From: "Noodle Snacks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 22, 2002 10:13 AM Subject: [PHP] Ip address as 32bit int? Is it easy enou

[PHP] Simple RegExp Problem...

2002-11-22 Thread @ Nilaab
Hello, Ok, I know this is easy for most of you, and believe me I've been searching and trying to learn all about regular expressions, but I can't seem figure out how to allow addition of spaces between characters. $text = "Here is some text"; Here, I want to be able to match the alpha characters

Re: [PHP] PHP Version of Outlook????

2002-11-22 Thread Maxim Maletsky
What does outlook have to do with PHP? No, there is nothing official has been made. There are some similar apps though, very good ones actually. -- Maxim Maletsky [EMAIL PROTECTED] "Craig" <[EMAIL PROTECTED]> wrote... : > Does Any one of a web based version of Microsoft Outlook/MSN Hotmail

Re: [PHP] FAQ a good idea?

2002-11-22 Thread Maxim Maletsky
there is a bunch of info everywhere on the web. One should have better means to find these, but at the end, that is what others do here - answer questions :) I don't think this will ever happen -- Maxim Maletsky [EMAIL PROTECTED] "Noodle Snacks" <[EMAIL PROTECTED]> wrote... : > I think this

RE: [PHP] Ip address as 32bit int?

2002-11-22 Thread Mark Charette
> From: Noodle Snacks [mailto:[EMAIL PROTECTED]] > the reason I ask is because it is alot more efficient space wise > in a db to > be storing a 32bit number rather that a char or varchar field. While it is more efficient space-wise (4 bytes vs. 12 bytes), the price of the additional disk storage

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

2002-11-22 Thread @ Nilaab
The variable $initialize contains "int(1)", so it does set itself within the last if statement. I'm just not sure why it's not unsetting all the sessions when the page loads. - Nilaab > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 22, 2002 2:36

RE: [PHP] FAQ a good idea?

2002-11-22 Thread Clint Tredway
I think this is a good idea. We have have for ColdFusion because we can point new people to it and it answers a lot of questions without generating extra traffic on the list. I for one am all for an FAQ. Clint -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Frid

Re: [PHP] FAQ a good idea?

2002-11-22 Thread Noodle Snacks
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... -- JJ Harrison [EMAIL PROTECTED] "Clint Tredway" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA

[PHP] PHP/MySQL

2002-11-22 Thread Mr. BuNgL3
Hi... What is the line code to optain the system date? I propose is to compare the system date with the date in one field in the database... Then what would be the mysql command to select all the rows with date with 10 days or less from the system date? Thanks... -- PHP General Mailing List (ht

Re: [PHP] PHP Version of Outlook????

2002-11-22 Thread Craig
no i want to create a php version of the web based outlook account found on msn.com "Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > What does outlook have to do with PHP? > > No, there is nothing official has been made. There are some similar

Re: [PHP] Simple RegExp Problem...

2002-11-22 Thread Ernest E Vogelsinger
At 13:38 22.11.2002, @ Nilaab spoke out and said: [snip] >Ok, I know this is easy for most of you, and believe me I've been searching >and trying to learn all about regular expressions, but I can't seem figure >out how to allow addition of spaces between char

RE: [PHP] PHP/MySQL

2002-11-22 Thread John W. Holmes
> What is the line code to optain the system date? > I propose is to compare the system date with the date in one field in the > database... Then what would be the mysql command to select all the rows > with > date with 10 days or less from the system date? NOW, CURDATE(), or CURRENT_DATE SELECT

[PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Andreas Otto
Hi, We have added some new features to a SiteShield protected website which makes it neccessary to use sessions. Although creating the session and the appropriate variables is a server side process there seem to be problems with IE (tested with version 6 on Win2000 Pro and WinXP Pro). If I acc

[PHP] fixed - Re: page cannot be displayed after a post of form with over80 post elements

2002-11-22 Thread B.C. Lance
managed to found out the cause. it was the cookies. it got overloaded with data and exceed the 4k limit. the cookies was storing preferences for too many users thus it break the limit. B.C. Lance wrote: hi guys, i am facing the above problem. i couldn't explain whats causing this behavior. how

Re: [PHP] PHP Coding HELP

2002-11-22 Thread Vicky
Thank you very much for everyone's help ^_^ I'm very much a novice in PHP, so whether I can actually figure out what I have to do'll be another thing *L* Thanks again ^_^ -Vicky -Original Message- From: Vicky [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 9:56 AM To: [EMAIL

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

2002-11-22 Thread Michael Sims
On Fri, 22 Nov 2002 14:57:23 +0900, you wrote: [...] >1- the user logs in >2- bookmarks the page >3- closes the browser >4- opens the browser >5- goes to the saved bookmark page > >He has access to the page. I.e. the session did not close/terminate when >he closed his browser ... I 'm not where

Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Ernest E Vogelsinger
At 14:24 22.11.2002, Andreas Otto spoke out and said: [snip] >We have added some new features to a SiteShield protected website which makes >it neccessary to use sessions. Although creating the session and the >appropriate variables is a server side process

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

2002-11-22 Thread Ernest E Vogelsinger
At 15:08 22.11.2002, Michael Sims spoke out and said: [snip] >I 'm not where I can test this right now, but if a session is older >than session.gc_maxlifetime, isn't it invalid anyway? I.E. if I >bookmark a page on your site and then come back 3 hours later

[PHP] transferring data from .php to 's in an .html file

2002-11-22 Thread Krzysztof Wozniak
Could someone help me with this: What combination of functions do I have to use to automatically redirect to an .html page (with 's inside), while carrying a variable that would be automatically put into one of the boxes, just like a predefined "value" would? Thanks a lot! Krzysztof

Re: [PHP] transferring data from .php to 's in an .html file

2002-11-22 Thread 1LT John W. Holmes
> What combination of functions do I have to use to automatically redirect > to an .html page (with 's inside), while carrying a variable that > would be automatically put into one of the boxes, just like a > predefined "value" would? Can't do it unless your page "form" page is .php so you can ex

Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Andreas Otto
Hi Ernest, On Friday 22 November 2002 15:05, Ernest E Vogelsinger wrote: > The message you see looks disturbing to me - is the session.save_path value > actually set to /home/globstag/tmp? Does Apache (or else) have all > necessary rights to this directory? > > _MAYBE_ you're using some mod_rewrit

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)

[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] 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

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] 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 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] 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] 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] 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] 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] 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

[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

[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

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] 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

[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

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

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 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

[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

[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

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

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... >

[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 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] 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 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

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 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] 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.

[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.

  1   2   >