RV: RV: [PHP] Does PHP works with Netscape Web Server or IPlanet???

2001-01-23 Thread "Aguilar Peña, Javier"
I setup IPlanet Web Server Enterprise Edition 4.1 on a PC. I've got an example of PHP which is the one I'm using to test it. When it should execute the php file called from the main page it seems to download it instead of executing it. It all worked right with IIS and PWS. The PHP extension es lin

Re: [PHP] url hide

2001-01-23 Thread Kristofer Widholm
To follow up: This is definitely the most low-tech (read reliable) way to do it. Just to clarify what Jørg is saying, create a frameset with two horizontal frames. The upper frame should be set to a height of "0", or "*", whatever your preference. The bottom frame should be given a height of "100

RE: [PHP] Search Engines and PHP

2001-01-23 Thread Kristofer Widholm
>If you want to be totally searchengine-safe, do not use variables on the >url, do not rely on cookies and do not rely on POST variables for the pages >you want to have the searchengine spider. How the heck do you build a dynamic site without URL variables, cookies, or POST variables? Kristofer

RE: [PHP] Search Engines and PHP

2001-01-23 Thread Ernest E Vogelsinger
At 09:23 23.01.2001, Kristofer Widholm said: [snip] >>If you want to be totally searchengine-safe, do not use variables on the >>url, do not rely on cookies and do not rely on POST variables for the pages >>you want to have the searchengine spider. > >How th

[PHP] very basic help on query and db issue

2001-01-23 Thread [EMAIL PROTECTED]
Hi people, I apologize that this question might not be quite relevant to the list purpose and it is more to do with mysql though. But I thought it is quite basic problem that no so complex db issue so I just give it a go. Anyway, get into my problem.

[PHP] RE: DBase functions

2001-01-23 Thread Tim Ward
I was trying to get dBase functions to work a couple of months ago. I activated the relevant line in php.ini (i can't remember which and I can't access the php.ini at the moment) which should have worked. I had to take it back out again as every php page hit was generating an error on the dll (php

[PHP] RE: url hide

2001-01-23 Thread Tim Ward
Surely you can't hide the url the browser requests. the best you can do is hide where that browser gets it's content from ... why not include()? Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mai

Re: [PHP] check null value

2001-01-23 Thread CC Zona
In article <019301c08581$e9504080$6400a8c0@alsmpdc>, [EMAIL PROTECTED] ("Jacky@lilst") wrote: > If I have one input text box that when it is submitted to next page, I want > to check first if it is nothing, then write "na" on next page, else just > echo whatever it is, is it correct to do this

Re: [PHP] RE: url hide

2001-01-23 Thread Jørg V . Bryne
If you include a forreign url using the fopen etc. functions you must parse and alter all urls. A nightmare... -Jørg - Original Message - From: "Tim Ward" <[EMAIL PROTECTED]> To: "'AJDIN BRANDIC'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 23, 2001 10:09 AM Subject:

[PHP] Funny php://stdout behaviour

2001-01-23 Thread ARTEK
Hi! When calling the php4 code below, sometimes the browser receives -the "HTML estandar text" -sometimes the "Text generated from PHP" (but NEVER both!) -and ocassionaly the error: "Warning: fopen("php://stdout","w") - Bad file descriptor in /home/sites/site74/web/_proc/pruebas/stdout-test.php

Re: [PHP] very basic help on query and db issue

2001-01-23 Thread Pascal Clerin
Jack, Your table have 12 columns, and you are trying to insert without specify in which columns, in sort that you should insert 12 values. Try: INSERT INTO Hoteldetail (HotelName,HotelLocation, HotelCountry, HotelPostcode, HotelTelephone,Hotelfax,HotelURL, HotelContactFirstName, HotelContactLas

Re: [PHP] Re: HTTP_USER_AGENT and preg_match

2001-01-23 Thread Teodor Cimpoesu
Hi John! On Tue, 23 Jan 2001, John Hinsley wrote: > Got it in the end. It should be: > > > > > if ((preg_match("/Mozilla/i", "$agent")) && (preg_match("/Gecko/i", > "$agent"))) { > $result = "You are using Netscape 6 or a later version of Mozilla."; > > > > But the thought occurs t

Re: [PHP] RE: url hide

2001-01-23 Thread Harsono Ismail
> > > > > > Perhaps not related to php but I was wandering, is it > > > possible to hide > > > site's real url and replace it with something else (some > > > other URL). ie. > > > someone clicks on a link on www.blah.co.uk which takes the user to an > > > designated area (ie. /house-search/) on w

[PHP] Non-existant folders??

2001-01-23 Thread Adrian Murphy
Hi, I'm creating a little app whereby people will be able to create a simple site for themselves (maybe 10 html pages). here's the problem: say their company is called "companyname" and my site is called "www.mysite.com" i'd like their site to be located at "http://www.mysite.com/companyname" Is

[PHP] multple select forms... going to hit my head against a wall ..

2001-01-23 Thread hsmith
Hi all I'm having a slight little problem .. I can't seem to solve.. I have a multiple select form .. that i select mutiple options from and then it creates a variable called $select now if I display $select .. I only get the last selected value .. here foloows test code.. Chocolate/Choco

[PHP] help!!! (PHP)

2001-01-23 Thread Bruno Freire
Hi ... I'm having some problem's here I'm need to know if my apache server is able to run scripts in a specific date and hour. For example: Every month, in the 15th day, I need to run a script PHP that check my Mysql database for some cause. Is that possible??? I'm realy thanks!!! Brun

[PHP] apache doubt!!!!

2001-01-23 Thread Bruno Freire
Hi ... I'm having some problem's here I'm need to know if my apache server is able to run scripts in a specific date and hour. For example: Every month, in the 15th day, I need to run a script PHP that check my Mysql database for some cause. Is that possible??? I'm realy thanks!!! Brun

RE: [PHP] help!!! (PHP)

2001-01-23 Thread Kees Hoekzema
Hey Bruno, Information to generally setup a cron tab : How do I set up a cron job on Linux? --- http://www.faqts.com/knowledge_base/view.phtml/aid/1005/fid/436 In regards to php : How can I make a PHP script be cal

RE: [PHP] apache doubt!!!!

2001-01-23 Thread Jon Haworth
If you're running on a unix-type system you can set up a cron job for this. If you're running on Windows you may be able to do something via the task scheduler, but I'm not sure about this. HTH Jon -Original Message- From: Bruno Freire [mailto:[EMAIL PROTECTED]] Sent: 23 January 2001

Re: [PHP] multple select forms... going to hit my head against a wall ..

2001-01-23 Thread Adrian Murphy
hey, since u are slecting multiple options you'll have to use an array here's how.i u need explanation,feel free to mail me: Chocolate/Chocolate Chip Peanut Brittle/Vanilla Cookie Batter Vanilla/Blueberry Caramel Swirl Other... "; }else{ ///count array $num = count($select); file:/

[PHP] Does anybody know how to setup PHP on a iPlanet Web Server (or Netscape Web Server)???? HEELPPP

2001-01-23 Thread "Aguilar Peña, Javier"
Hi everybody, it's me again. Does anybody know how to setup PHP on a iPlanet Web Server (or Netscape Web Server) HEELPPP I post a few messages from yesterday. Could you help me???

[PHP] Getting warning using split

2001-01-23 Thread Matt Williams
Hi I'm trying to split a string into an array but keep getting the following message: Warning: unexpected regex error (13) in z:/www_root/staff.php on line 34 The code is just $query_string = split("+",$search); where $search is from a form. Any clues?? TIA M@ -- PHP General Mailing Lis

[PHP] Sorry! Help needed!

2001-01-23 Thread Anna
Sorry for it isnt PHP related, but maybe someone can answer or point where to look I have some disagreement with one person about method="post"... Is this possible and good use as action html files: for example - > process form data to other page via html... Cant find answer nowhere... always

Re: [PHP] Search Engines and PHP

2001-01-23 Thread Christian Reiniger
On Tuesday 23 January 2001 09:23, Kristofer Widholm wrote: > >If you want to be totally searchengine-safe, do not use variables on > > the url, do not rely on cookies and do not rely on POST variables for > > the pages you want to have the searchengine spider. > > How the heck do you build a dynam

Re: [PHP] multple select forms... going to hit my head against a wall ..

2001-01-23 Thread hsmith
Having soved this .. thanks .. now for the next question .. *grin* I have the $select ... but I only use it on the next page .. heheh so I'm trying the following .. which of course doens't work .. nor does any idea on how to pass an array on in an input field in a form ? Henti On Tu

RE: [PHP] Search Engines and PHP

2001-01-23 Thread Sander Pilon
> > >If you want to be totally searchengine-safe, do not use variables on the > >url, do not rely on cookies and do not rely on POST variables > for the pages > >you want to have the searchengine spider. > > How the heck do you build a dynamic site without URL variables, > cookies, or POST variabl

Re: [PHP] Getting warning using split

2001-01-23 Thread Brian Clark
Hello Matt, (MW == "Matt Williams") [EMAIL PROTECTED] writes: MW> $query_string = split("+",$search); $query_string = explode('+', $search); -Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

RE: [PHP] check null value

2001-01-23 Thread Cal Evans
I would try: if (isset($fieldname) && empty($fieldname)){ // do something here with the variable } else { $fieldname="na"; } // if (isset($fieldname) && empty($fieldname)) Cal http://www.calevans.com -Original Message- From: Jacky@lilst [mailto:[EMAIL PROTECTED]] Sent: Tuesday, J

RE: [PHP] Non-existant folders??

2001-01-23 Thread Cal Evans
Yes, it can be done. No it's not easy. No, it's not advisable. Mixing content like that is a recipe for disaster. If you feel you absolutely must do it without creating dirs, consider putting the content of the pages in a database. Cal http://www.calevans.com -Original Message- From

RE: [PHP] RE: url hide

2001-01-23 Thread Sander Pilon
> > > > Perhaps not related to php but I was wandering, is it > > > > possible to hide > > > > site's real url and replace it with something else (some > > > > other URL). ie. > > > > someone clicks on a link on www.blah.co.uk which takes the > user to an > > > > designated area (ie. /house-sear

[PHP] passing arrays via forms ..

2001-01-23 Thread hsmith
howdy again :) does anybody knwo how to pass an array via forms using something like where $client_services is an array ? Hetni -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

RE: [PHP] multple select forms... going to hit my head against a wall ..

2001-01-23 Thread Jon Haworth
Try either: ?> ", $select); HTH Jon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 23 January 2001 12:27 To: Adrian Murphy Cc: PHP list Subject: Re: [PHP] multple select forms... going to hit my head against a wall .. Having soved this .

Re: [PHP] multple select forms... going to hit my head against a wall ..

2001-01-23 Thread Adrian Murphy
hey, in your form do this: } ?> then on the nex page use the same code i.e: $num = count($select); for($i = 0;$i <$num;$i++){ print $select[$i] . ""; } g'luck. - Original Message - From: <[EMAIL PROTECTED]> To: Adrian Murphy <[EMAIL PROTECTED]> Cc: PHP list <[EMAIL PROTECTED

Re: [PHP] multple select forms... going to hit my head against a wall ..

2001-01-23 Thread hsmith
u ... $select is an array .. so echo $select will just produce "array" .. On Tue, Jan 23, 2001 at 12:44:20PM -, Jon Haworth wrote: > Try either: > > ?> > > OR > > printf ("input type=\"hidden\" name=\"select\" value=\"%s\">", > $select); > > > HTH > Jon >

RE: [PHP] passing arrays via forms ..

2001-01-23 Thread Neil Kimber
serialise it using serialize() - see under chapter 12 of the PHP manual 'Miscellaneous functions' -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 23 January 2001 12:42 To: PHP list Subject: [PHP] passing arrays via forms .. howdy again :) does anybody knwo h

RE: [PHP] multple select forms... going to hit my head against a wall ..

2001-01-23 Thread Jon Haworth
Sorry, my bad. I should have spotted the cunning way he used the word "array", really :-) Eyes closing. More coffee. aahaahhhrrrghhh Cheers Jon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 23 January 2001 12:45 To: Jon Haworth Cc: '[

Re: [PHP] multple select forms... going to hit my head against a wall ..

2001-01-23 Thread Jørg V . Bryne
If you don't put it in a session var, and need to transport it you can use f. x. : This puts double pipe-chars between the array variables. You can later (when u need to use the vars again) use: $select = explode( "||", $user_selections ); to put it into an array again. -J - Original Messag

[PHP] Turning off scrollbar

2001-01-23 Thread Website4S
Hi, Can anyone tell me how to turn off the bottom scrollbar in both IE and Netscape?? TIA Ade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTE

RE: [PHP] Turning off scrollbar

2001-01-23 Thread Jon Haworth
Dare I say. don't design your page so it's wider than the browser? is asking for trouble :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 23 January 2001 13:18 To: [EMAIL PROTECTED] Subject: [PHP] Turning off scrollbar Hi, Can anyone tell me

[PHP] sleep and usleep not working ??

2001-01-23 Thread Benny Nissen
Hi All I have tried to get this to work but it does not produce any output in the browser - why $i = 1; while ($i) { if(connection_aborted()) break; echo $i; echo ""; $i++; sleep(1); //usleep(1000); } It turns out that the sleep and usleep does not return as far as I can tell. If I

Re: [PHP] Turning off scrollbar

2001-01-23 Thread Brian Clark
Hello Website4S, (Wac == "[EMAIL PROTECTED]") [EMAIL PROTECTED] writes: Wac> Can anyone tell me how to turn off the bottom scrollbar in both Wac> IE and Netscape?? Check all of your table widths (use percentages or a width of around 550) and validate your HTML. http://validator.w3.org/ Your

AW: [PHP] Non-existant folders??

2001-01-23 Thread Sebastian Stadtlich
hi you can do that by assigning custom error pages if you use apache. if you have access to the hhtp.conf place this in it : ErrorDocument 404 /redirect.php is you can't access httpd.conf you can hope that you are allowed to overide it by a .htaccess in redirect.php you need to parse the $

Re: [PHP] Non-existant folders??

2001-01-23 Thread Robin Vickery
> "AM" == "Adrian Murphy" <[EMAIL PROTECTED]> writes: > Hi, I'm creating a little app whereby people will be able to create > a simple site for themselves (maybe 10 html pages). here's the > problem: say their company is called "companyname" and my site is > called "www.mysite.com" i'd l

Re: [PHP] Getting warning using split

2001-01-23 Thread Steve Edberg
At 7:33 AM -0500 1/23/01, Brian Clark wrote: >Hello Matt, > >(MW == "Matt Williams") [EMAIL PROTECTED] writes: > >MW> $query_string = split("+",$search); > >$query_string = explode('+', $search); > >-Brian > Just to explain the error - split() takes a regular expression for its first argument;

[PHP] IMAP - attachment-information

2001-01-23 Thread Jochen Kächelin
How can I extract the information about email attachments using the IMAP-functions? -- ** * Jochen Kächelin* * Ihr WEBberater - Werbeagentur Pulvermüller * * Stuttgarter Str. 3 - D-73033 Göppingen * * www.wa-p.de - mailt

Re: [PHP] Sorry! Help needed!

2001-01-23 Thread Joe Stump
Here is the difference between method="post" and method="get" - "get" passes the variables on the url (ie script.php?var1=foo&var2=foobar) and "post" passes them behind the scenes. They both have the same effect. The difference is that if a user reloads the page with a "get" request it reloads wit

Re: [PHP] help!!! (PHP)

2001-01-23 Thread Joe Stump
Use cron for this - put the following in your crontab ("crontab -e") to run a script everyday at midnite: 0 0 * * * lynx -source http://www.server.com/script_to_run_every_night.php man crontab will tell you how to run on different days, etc. --Joe On Tue, Jan 23, 2001 at 09:53:13AM -0300, Bru

[PHP] Possible Sybase Bug

2001-01-23 Thread Shaun Thomas
I'd like to stop using sybase entirely, but that's a discussion for another day, here's the actual issue I'm having. An old site we've had for a while stopped working today after we upgraded to PHP 4.0.4PL1. We have a .shtml page doing a virtual include on two php pages (banner rotations, etc).

[PHP] Deleting all cookies so matter where they were set

2001-01-23 Thread Noah Spitzer-Williams
Is there a way to remove all cookies so matter what path they were set as long as it was from me (ex. in my parent directory). i need this because i was screwing around with setting cookies in different paths but now i cant get rid of one. Thanks! - Noah -- PHP General Mailing List (http://w

[PHP] ID value

2001-01-23 Thread Robert Morrissey
Hi, I wonder whether anyone can shed some light onto this for me... Say I have this example insert: $sql = "INSERT INTO songs (id,name,url) VALUES ('','Foobar','test.php?id=)"; The id is autoincrement so obviously left blank, yet I'd like to put it into the url where is. How do I go about d

RE: [PHP] ID value

2001-01-23 Thread Sam Masiello
If you are using mysql as your database, you can use mysql_insert_id. See http://www.php.net/manual/en/function.mysql-insert-id.php for more info :) HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Robert Morrissey [mailto:[EMA

[PHP] Newbie frustration!

2001-01-23 Thread Gerry
Hello everyone: I started playing around with some php scripts a while ago and became hooked on it. I have a few books but I'm afraid I'm a learn by example kind of person and get stuck at times. While working on my wife's site I made headers, footers, navigation and a little MySQL database for

[PHP] Maximum execution time

2001-01-23 Thread Liam Gibbs
Can anyone tell me how to up the max. execution time in PHP? I know it's been said before, but I can't remember how it's done. Liam

Re: [PHP] SSH file transfers

2001-01-23 Thread Jirka Kosek
Kyle Jerviss wrote: > Yeek! Not quite what I meant. I don't think that web servers have any > business being on windows boxes. I was wondering if there were a way to > upload using something like scp from a windows (or other) browser to a > unix server. There is a nice program WinSCP at http:

[PHP] installing and using PEAR

2001-01-23 Thread Dean Hall
Can anyone direct me to some up-to-date documentation on how to install (and then use) the Pear included in the distribution? There seems to be minimal (and perhaps outdated or inappropriate?) install instructions included with the source distribution, but I've found nothing on how to use it.

[PHP-CVS] cvs: php4 / NEWS

2001-01-23 Thread Thies C. Arntzen
thies Tue Jan 23 07:30:32 2001 EDT Modified files: /php4 NEWS Log: #found this by playing with phpMyAdmin. Index: php4/NEWS diff -u php4/NEWS:1.569 php4/NEWS:1.570 --- php4/NEWS:1.569 Mon Jan 22 18:09:09 2001 +++ php4/NEWS Tue Jan 23 07:30:27 2

Re: [PHP] DocBook Editors?

2001-01-23 Thread Jirka Kosek
Alex Black wrote: > No SGML editors out there with a tag catalog, etc? You can use Emacs with PSGML package. It is very productive environment, if you do not need WYSIWYG. If you want more comfortable and more WYSIWYG you can try XMetaL from SoftQuad or Epic from ArborText. --

Re: [PHP] Sorry! Help needed!

2001-01-23 Thread Tim McGuire
I think you are asking if you can use client side JavaScript to handle a form. www.irt.org has some good examples of this in their JavaScript FAQ section. Try http://developer.irt.org/script/form.htm#10.3 for "Interactions between forms in different frames or windows" >>> Anna <[EMAIL PROTECTE

Re: [PHP] Newbie frustration!

2001-01-23 Thread mick
I'm not sure if I fully understand what you want to do, but I don't see why you need a seperate index.php for each of your directories. Can't the index.php script pull content from any number of different directories?, eg: index.php?page=dir1/stuff index.php?page=dir2/stuff index.php/page=dir3/st

Re: [PHP] Re: XML Processing Instruction ( was "

2001-01-23 Thread Jirka Kosek
Teodor Cimpoesu wrote: > my follow-up was from an suggest of using <% though :) > it exists in C, ASP and JSP. We have it in PHP, why not use it? Because it is not compatible with XML syntax. Following is incorrect in XML, because '<' has very restricted usage: <% echo Date("d.m.Y") %> If y

[PHP] Failed to write session data (files)

2001-01-23 Thread bill
When using PHP 4 as a CGI module I get the following error trying to use sessions: Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 What does this error mean? This only occurs if cookies are disable

Re: [PHP] IMAP - attachment-information

2001-01-23 Thread Chris Adams
On 23 Jan 2001 06:36:02 -0800, Jochen Kächelin <[EMAIL PROTECTED]> wrote: >How can I extract the information >about email attachments using the IMAP-functions? Use imap_fetchstructure(). It returns a pretty large array, so you'll probably want to spend some quality time with the documentation and

Re: [PHP] Maximum execution time

2001-01-23 Thread Chris Adams
On 23 Jan 2001 07:47:03 -0800, Liam Gibbs <[EMAIL PROTECTED]> wrote: >Can anyone tell me how to up the max. execution time in PHP? I know it's = >been said before, but I can't remember how it's done. You can change the value max_execution_time in php.ini, or your apache configuration files. If yo

Re: [PHP] Maximum execution time

2001-01-23 Thread Delbono
put this line set_time_limit(500) ; at the beginning of your script if you want to enlarge execution time for 500 seconds. - Original Message - From: "Liam Gibbs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 23, 2001 4:48 PM Subject: [PHP] Maximum execution time

[PHP] png files loosing color depth

2001-01-23 Thread Liam Hoekenga
Hey - I'm using PHP 4.0.4pl1 w/ Apache 1.3.14 on Solaris 2.6. PHP was compiled with GD (1.8.3), jpeg (6b), png (1.0.8), and freetype (1.3.1) I'm trying to overlay text on a existing png graphic, which works, but the color depth seems to be getting reduced. Page info in Netscape shows that the b

[PHP] WAP and PHP

2001-01-23 Thread Alastair Binns
Hi, I am trying to dynamically create WML pages using PHP and mysql. I can get the PHP to output WML however I am having problems with postfields. They do not seem to be populating the $HTTP_POST_VARS array. Has anyone come across this before and no why this is the case. I could create the quer

Re: [PHP] Deleting all cookies so matter where they were set

2001-01-23 Thread php3
Addressed to: "Noah Spitzer-Williams" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Noah Spitzer-Williams" <[EMAIL PROTECTED]> Tue, 23 Jan 2001 10:09:22 -0500 > > Is there a way to remove all cookies so matter what path they were > set as long as it was from me (ex.

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-01-23 Thread Rasmus Lerdorf
rasmus Tue Jan 23 07:56:13 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: More karma for the mysql guys Index: CVSROOT/avail diff -u CVSROOT/avail:1.52 CVSROOT/avail:1.53 --- CVSROOT/avail:1.52 Mon Jan 22 15:43:36 2001 +++ CVSROOT/avail

[PHP] HELP!!! $PHP_AUTH_USER!!!!!!

2001-01-23 Thread Bruno Freire
Look I justs wanna make that password box show up in the screen But without a protected directory... Thanks Bruno

Re: [PHP] Newbie frustration!

2001-01-23 Thread Gawain Reifsnyder
At 11:58 AM -0700 on 1/23/01, Gerry wrote: >I have read most of the class.Fast.Template, fast.Template stuff, but >if there is an example on how to do this I'm missing it. As far as I can >tell I can only create one document and I can't find how to manage URLS >to other documents with the same

Re: [PHP] sleep and usleep not working ??

2001-01-23 Thread Benny Nissen
I have to add that I am using the latest PHP version. It was Windows and Linux servers I was talking about. usleep work in the way that it return right away without any sleep time. Benny ""Benny Nissen"" <[EMAIL PROTECTED]> skrev i en meddelelse 94k0ql$em$[EMAIL PROTECTED]">news:94k0ql$em$[EMAIL

[PHP] Sybase Mysql 3.23 issues.

2001-01-23 Thread Shaun Thomas
I wrote a message earlier about sybase_connect having issues, but it appears it's more than that. We had also recently upgraded to mysql 3.23. After downgrading mysql, sybase went back to normal in all cases. Can't say I can explain it, but that's what happened. Does this mean mysql 3.23 is s

[PHP] non-php related question.

2001-01-23 Thread Jason Jacobs
Hey guys and gals! I have my personal site on go.com, and I wanna move it. The problem is I don't have it all backed up on my machine (I think I only have some of the images), but I want to move it to my server at work. Does anyone know of a script of some sort that will go to my site, copy all

Re: [PHP] non-php related question.

2001-01-23 Thread Kurth Bemis
At 12:05 PM 1/23/2001, Jason Jacobs wrote: on linux use wget on windows use websnake. both are available somewhere on the net. wget is at freshmeat and websnake is available at download.com ~kurth >Hey guys and gals! I have my personal site on go.com, and I wanna move it. >The problem is I

RE: [PHP] HELP!!! $PHP_AUTH_USER!!!!!!

2001-01-23 Thread Robert Collins
Try this: try:password : testusername : test"); $title = "Password"; echo "OK, you can look at this page!"; ?> -Original Message- From: Bruno Freire [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 10:45 AM To: '[EMAIL PROTECTED]' Subject: [PHP] HELP!!! $PHP_AUTH_US

[PHP] Shared Memory with Yast-installed mod_php4 from SuSE.

2001-01-23 Thread Thomas Weber
Hi, i try to use the shared memory functions on a SuSE Linux 7.0 server with Apache and mod_php4 out of the box installed with yast. For shmop i need to configure PHP with --enable-shmop with isn't enabled in this installation. I know how to enable this when compiling and installing the source o

Re: [PHP] apache doubt!!!!

2001-01-23 Thread Thierry Coopman
try the CGI version of PHP and call that executable without using your Apache At 9:55 AM -0300 1/23/01, Bruno Freire wrote: >Hi ... >I'm having some problem's here >I'm need to know if my apache server is able to run scripts in a specific >date and hour. > >For example: > >Every month, in t

[PHP-CVS] cvs: php4 / NEWS /ext/mysql/libmysql acinclude.m4 bmove.c charset.c config-win.h dbug.h default.c errors.c fix_copyright global.h libmysql.c m_string.h mf_dirname.c mf_format.c mf_pack.c mf_path.c my_alloc.c my_create.c my_fopen.c my_init.c my_open.c my_pthread.c my_pthread.h my_static.c my_static.h my_sys.h my_thr_init.c my_wincond.c my_write.c mysql.h mysql_com.h mysql_version.h mysqld_error.h mysys_err.h net.c raid.h safemalloc.c string.c thr_alarm.h thr_mutex.c typelib.c update_sources violite.c violite.h

2001-01-23 Thread MySQL Team
mysql Tue Jan 23 08:48:51 2001 EDT Added files: /php4/ext/mysql/libmysqlupdate_sources Modified files: /php4 NEWS /php4/ext/mysql/libmysqlraid.h acinclude.m4 bmove.c charset.c config-win.h d

[PHP] PHP_SELF - silly question

2001-01-23 Thread Larry Hotchkiss
Im a little brain fried today and I have a silly question. I have a script (imagine that huh?) that I want to pull some code out of and put in a function that is contained in a seperate file. The function however inlcudes some lines with $PHP_SELF in a link (a href). When I remove the code

[PHP] "Authenticating" across sites/servers

2001-01-23 Thread Boget, Chris
I've been charged with trying to find out how something like this can be done if it is at all in fact possible. The info I'm hoping to get is what would be involved and where I can find information on it. I'm not asking for code or examples unless you really want to provide them. :P Anyways,

[PHP] Parse error

2001-01-23 Thread Liam Gibbs

Re: [PHP] "Authenticating" across sites/servers

2001-01-23 Thread Michael Kimsal
Have the user log in to/authenticate against the first server. That server generates a key, based on combining the username and a private key known to the authenticating server and your servers. Pass that back to your servers in a URL - cookie wouldn't work, but the key in the URL should be suffic

Re: [PHP] Parse error

2001-01-23 Thread Liam Gibbs
Should probably put the whole thing. Why does this produce a parse error (I know that include statements do weird things to if structures): if($username != "") { } else { include("file.php3"); } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP] Parse error

2001-01-23 Thread Matt Williams
Which line is producing the error?? M@ > -Original Message- > From: Liam Gibbs [mailto:[EMAIL PROTECTED]] > Sent: 23 January 2001 17:32 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Parse error > > > Should probably put the whole thing. > > Why does this produce a parse error (I know th

RE: [PHP] "Authenticating" across sites/servers

2001-01-23 Thread Boget, Chris
> Have the user log in to/authenticate against the first server. > That server generates a key, based on combining the username > and a private key known to the authenticating server and your > servers. > Pass that back to your servers in a URL - cookie wouldn't > work, but the key in the URL s

RE: [PHP] "Authenticating" across sites/servers

2001-01-23 Thread Andrew Hill
Also, you can check the value of $HTTP_REFERER for the ip of the trusted host, to further eliminate the potential. Best regards, Andrew Andrew Hill Director Technology Evangelism OpenLink Software http://www.openlinksw.com XML & E-Business Infr

[PHP] Re: timeout of management session

2001-01-23 Thread Simon Chambers
Hi, Can anyone point me in the right direction ? : I have inherited some PHP code and the problem is that it times out of the management session after 10 minutes. Do I need to change code or php system variables? Thanks v much Simon

Re: [PHP] png files loosing color depth

2001-01-23 Thread Matt McClanahan
On Tue, 23 Jan 2001, Liam Hoekenga wrote: > Hey - > > I'm using PHP 4.0.4pl1 w/ Apache 1.3.14 on Solaris 2.6. > PHP was compiled with GD (1.8.3), jpeg (6b), png (1.0.8), and freetype > (1.3.1) > > I'm trying to overlay text on a existing png graphic, which works, but the > color depth seems to

[PHP] Filereference and require()

2001-01-23 Thread Rasmus Resen Amossen
I have a file, lets call it genericfile.php, containing a require("a_specific_file"); Now, I want to use (thats include) genericfile.php in many of my other .php-files in the WHOLE directorytree. The problem is that "a_specific_file" can't be found trough genericfile.php if this is included som

[PHP] Waring message for FTP

2001-01-23 Thread Simon Chambers
Hi, I have developed a small php program which creates a directory on a remote ftp site, which works fine. The problem is that when the directory is creted it displays the message: Warning: ftp_mkdir: MKD command successful. How can i get rid of this warning message? Thanks Simon p.s. i do

[PHP] Session problems

2001-01-23 Thread Jimmy Bäckström
Yo! I'm playing a little bit with sessions for the moment and I get a really scary errormessage: Warning: open(/tmp\sess_1b7577b36d874741ed1e74b4bead0dfd, O_RDWR) failed: m (2) in h:\program\apache\htdocs/boa/sessionTest.php on line 5 Warning: open(/tmp\sess_1b7577b36d874741ed1e74b4bead0dfd, O

Re: [PHP] Newbie frustration!

2001-01-23 Thread Gerry
Hi Mick: You wrote: > Can't the > index.php script pull content from any number of different directories?, > eg: > > index.php?page=Yarns/stuff > index.php?page=Rovings/stuff > index.php/page=dir3/stuff Well the thing is that there is probably a few ways to do this and I thought of the way you

Re: [PHP] Waring message for FTP

2001-01-23 Thread Matthew Mundy
try @ftp_mkdir($conn_id, $uploadtag); On Tue, 23 Jan 2001, Simon Chambers wrote: > Hi, > > I have developed a small php program which creates a directory on a remote > ftp site, which works fine. The problem is that when the directory is creted > it displays the message: > > Warning: ftp_mkdir: M

RE: [PHP] "Authenticating" across sites/servers

2001-01-23 Thread Boget, Chris
> Also, you can check the value of $HTTP_REFERER for the ip of > the trusted host, to further eliminate the potential. How do you get the IP out of $HTTP_REFERER? As far as I know, that only tells you the referring url, not the ip address. And couldn't that value be messed with? Chris

Re: [PHP] "Authenticating" across sites/servers

2001-01-23 Thread Alexander Wagner
Boget, Chris wrote: > > > Also, you can check the value of $HTTP_REFERER for the ip of > > the trusted host, to further eliminate the potential. > > How do you get the IP out of $HTTP_REFERER? As far as I know, > that only tells you the referring url, not the ip address. This is correct. But y

Re: [PHP] "Authenticating" across sites/servers

2001-01-23 Thread Kyle Jerviss
Here is an idea I had, but will require that all the sites in question maintain very accurate clock synchronization, but doesn't require any database writes. It assumes that the passwords are stored using MySQL's PASSWORD("") function. $user_table="website.authorized_users"; $now=gmmktime(); $in

php-general Digest 23 Jan 2001 18:35:37 -0000 Issue 472

2001-01-23 Thread php-general-digest-help
php-general Digest 23 Jan 2001 18:35:37 - Issue 472 Topics (messages 36144 through 36241): Profanity Filter? 36144 by: Colin Kane 36146 by: Richard Lynch Re: What "PHP" Stands For 36145 by: Richard Lynch check null value 36147 by: Jacky.lilst 36

[PHP] Some Code for Uploading Images...

2001-01-23 Thread Diego Fulgueira
Hi! I know how to upload images. But I will be very grateful if anyone around has some code to do that and is willing to share it with me. I have all kind of algorithms in PHP I could share too, just tell me what you need. By the way, do you know of a site with PHP samples? Thanks a lot!. -- PH

Re: [PHP] "Authenticating" across sites/servers

2001-01-23 Thread Michael Kimsal
"Boget, Chris" wrote: > > One other thing that I forgot to include in my previous message as > a concern of mine and it relates to the above. If we did it that way, > > someone who was listening to a port on the client's server, or who > came by later to use the same machine the client was usi

Re: [PHP] Some Code for Uploading Images...

2001-01-23 Thread Website4S
In a message dated 23/01/2001 19:01:16 GMT Standard Time, [EMAIL PROTECTED] writes: << By the way, do you know of a site with PHP samples? >> www.hotscripts.com www.devshed.com www.phpbuilder.com www.zend.com www.php.net www.thickbook.com www.weberdev.com That should keep you going, as for the

  1   2   3   >