[PHP] cookie domain name

2002-08-27 Thread Justin French
Hi all, If I want a cookie to work on both www.domain.com and domain.com what should I set as the domain for the cookie? I'm having trouble deleting cookies when they were set without the www., but attempted to delete without... Thanks, Justin -- PHP General Mailing List (http://www.php.ne

[PHP] FTP problem with PHP 4.2.2 / AIX 4.3.2

2002-08-27 Thread Nicolas JOUANIN
Hi, I've just configured and installed sucessfully PHP 4.2.2 on my AIX server. Everything works good, except when I want to connect to a FTP server within a PHP script. I compiled PHP using the --enable-ftp option and phpinfo() tells me that FTP support is enabled. Here is a simple script I trie

php-general Digest 28 Aug 2002 05:31:26 -0000 Issue 1551

2002-08-27 Thread php-general-digest-help
php-general Digest 28 Aug 2002 05:31:26 - Issue 1551 Topics (messages 114270 through 114326): Re: User Authentication Script 114270 by: Vail, Warren file reading 114271 by: phper 114272 by: Philip Hallstrom 114273 by: Brad Dameron Newbie,module or CGI and s

[PHP] Strange Problem......

2002-08-27 Thread karthikeyan
Hi All, I have an XML. Using XSL How do i do grouping and counting in an efficient way. Thanks karthikeyan.

[PHP] Apostrophe in preg_match?

2002-08-27 Thread Andre Dubuc
I'm trying to get an apostrophe (and a dash, as well) to be included in a preg_match expression, but I don't know how to escape the characters. Numbers and special characters not allowed in 'Surname' Click 'Back' on your browser to re-enter information."); ?> Any help will be greatly appreci

Re: [PHP] foreach fails on unitialized array?

2002-08-27 Thread Michael Sims
On Wed, 28 Aug 2002 12:53:45 +0900, you wrote: >When I use foreach on a uninitialized array I get the following warning: > >Warning: Invalid argument supplied for foreach() in >/www/htdocs/jc/cart/add_item.php on line 21 > >I would expect foreach to treat an unitialized variable as an empty >a

[PHP] Curl request works on command line but not in script

2002-08-27 Thread Joshua Alexander
Hi folks, I'm trying to send an XML request to a server to get its response back... I can get it to work on the command line (with passthru) but not with libcurl. I'm using libcurl 7.9.2 which may actually be different from the curl on the command line... the latter came with OS X, the former

[PHP] Follow-up question about Digest Authentication in PHP

2002-08-27 Thread Seairth Jacobs
In a prior post, Rasmus Lerdorf said in response to implementing digest authentication: > we do not have digest auth support in PHP yet. Is it not possible to manually implement digest authentication in PHP? Or does PHP preprocess the "Authorization" request header such that the information is

[PHP] foreach fails on unitialized array?

2002-08-27 Thread Jean-Christian Imbeault
When I use foreach on a uninitialized array I get the following warning: Warning: Invalid argument supplied for foreach() in /www/htdocs/jc/cart/add_item.php on line 21 I would expect foreach to treat an unitialized variable as an empty array and hence do nothing. Is this the expected behavio

Re: [PHP] Just learning . . . HTML Form & PHP

2002-08-27 Thread Jason Wong
On Wednesday 28 August 2002 03:51, April Lougheed wrote: > Next I'd just like to confirm that the fields are not blank and send a > custom error message. But I think I'm confused about where to place the > code. > The two files below are the HTML and PHP files that are working. The third > fi

Re: [PHP] Are sessions affected by Unix user changes?

2002-08-27 Thread Jason Wong
On Wednesday 28 August 2002 03:51, K Soares wrote: > Are sessions in PHP somehow affected by changes in Unix users? I know that > the only recent changes to the server have been the addition of a few Unix > users and the changing of some older passwords, but now sessions do not > work within PHP.

[PHP] JOB: Senior Developer, Washington DC Area

2002-08-27 Thread Alok K. Dhir
We have an immediate opening for an experienced web application developer (read "guru") who meets or exceeds the following criteria: Required skills (2.5+ years): - Large scale, highly available applications development on Unix/Linux platform - PHP - Perl - SQL (

[PHP] Re: People's Opinion

2002-08-27 Thread Bogdan Stancescu
Christopher J. Crane wrote: > This is a little off topic, but I am desperate. I am looking for a good > PHP/MySQL chat that is not in a bunch of frames. I have from WebChat > (http://www.webdev.ro/) but it has a bunch of runtime erros. If anyone has > this working or they know of another that work

Re: [PHP] Re: Command Line

2002-08-27 Thread Adam Williams
if you just wanna delete everything from the tables you can do DELETE FROM table_name; for each table. or you can do DROP table_name; for each one but then you have to re-create each table that you drop with CREATe TABLE ( stuff here ); Only use DROP table_name; if you know the structure of ea

[PHP] Re: Command Line

2002-08-27 Thread Gerald R. Jensen
Trevor ... Do you want to drop the tables, or simply delete the data in them and retain the table structure? To delete data ... USE databasename; DELETE * FROM tablename; To drop tables ... DROP TABLE [IF EXISTS] tablename1 [, tablename2,...] [RESTRICT | CASCADE] If you drop a tabl

[PHP] Re: Command Line

2002-08-27 Thread Trevor Tregoweth
Hi I am very new to mysql, so any help please how to drop tables from a database from the command line i have 6 tables in there, and need to be able to flush all the data out, (of 2 tables only) so there might be another way Thanks Trevor -- PHP General Mailing List (http://www.php.net

Re: [PHP] Host

2002-08-27 Thread Liam MacKenzie
I also work for a webhosting company, if you need corporate hosting, I can help you there too. Low rates, payable by check... Fibre Optic pipe Slackware 8.1 Apache 1.3.26 PHP 4.2.2 MySQL Perl 1.27 POP3 Accounts Admin console FTP Access Contact me on [EMAIL PROTECTED] if you're interested. I'm

Re: [PHP] PHP with Sql Server

2002-08-27 Thread Jerome Houston
http://www.php.net/manual/en/function.mssql-connect.php >From: "Skyhawk" <[EMAIL PROTECTED]> >Please, How do I make to access a database Sql Server 2000? > > >Thaks > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php ___

Re: [PHP] sending email to a mailing list

2002-08-27 Thread Justin French
on 28/08/02 1:38 AM, Raphael Hamzagic ([EMAIL PROTECTED]) wrote: > I'm with a little doubt about the best way to send a mail message to a large > mailing list using PHP. I'm not interested in existing mailing list > managers, or source codes. > I dont know if the best way to send emails is to us

Re: [PHP] Host

2002-08-27 Thread Justin French
Experthost.com allows payment by cheque, but the service is withheld until the cheque clears (understandable). Justin on 28/08/02 10:40 AM, Bruce Karstedt ([EMAIL PROTECTED]) wrote: > Anyone care to recommend a host as follows: > > Unix > PHP > MySQL > Domain Reg. > No unusual size or traffi

Re: [PHP] Host

2002-08-27 Thread Liam MacKenzie
What's your site about? I can do all that for free if if it's: - Non-Profit - Personal homepage - PHP Dev. Apache, PHP, MySQL on Slackware 8.1 98% Uptime, 2 Meg pipe based in Brisbane, Australia. I allow external MySQL DB Access, FTP, mail(), DNS hosting and unlimited POP3 accounts. BUT... I

Re: [PHP] bulk mail

2002-08-27 Thread Justin French
on 28/08/02 9:17 AM, Pupeno ([EMAIL PROTECTED]) wrote: > I know a lot has been discussed in this topic, but I still don't find any > solution. > What I want to do is send a lot of mails triggered from a web page using > php. > I've found diferent solutions but all of them has some problem: > 1)

[PHP] Re: Host

2002-08-27 Thread Christopher J. Crane
cedant web hosing...cedant.com. They will bill you and you can pay by check and with Mysql databse I think they are 12.00 "Bruce Karstedt" <[EMAIL PROTECTED]> wrote in message 003b01c24e2b$7a9c9e80$7772d73f@c3">news:003b01c24e2b$7a9c9e80$7772d73f@c3... > Anyone care to recommend a host as follows:

[PHP] Host

2002-08-27 Thread Bruce Karstedt
Anyone care to recommend a host as follows: Unix PHP MySQL Domain Reg. No unusual size or traffic requirements (now) Pay by Check (my company will not allow the used of company credit cards over the Internet.) Bruce Karstedt President Technology Consulting Associates, Ltd. Tel: 847-735-9488 Fax

[PHP] PHP with Sql Server

2002-08-27 Thread Skyhawk
Please, How do I make to access a database Sql Server 2000? Thaks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] time stamp

2002-08-27 Thread Steve Buehler
I am using PHP with MySQL and have a timestamp field in my db table. What would be the easiest way to get the newest timestamp out of the db? Thanks in Advance Steve -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ow3 -- PHP G

[PHP] People's Opinion

2002-08-27 Thread Christopher J. Crane
This is a little off topic, but I am desperate. I am looking for a good PHP/MySQL chat that is not in a bunch of frames. I have from WebChat (http://www.webdev.ro/) but it has a bunch of runtime erros. If anyone has this working or they know of another that works well please send me a link or some

[PHP] php indenter

2002-08-27 Thread Gui Guy
what is a good php indenter/beautifier? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: '#' character breaking the URL string

2002-08-27 Thread Joseph Szobody
Thanks. That's what I needed. Joseph "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > >I have a 5-step (5 page) process in which users must answer various > >questions. Each page passes along the data to the next page, at the same > >time capturing the data fro

RE: [PHP] GD 1.8.4

2002-08-27 Thread Zach Curtis
OK. I ran 'make install' for GD 2.0.1 and that seemed to go smoothly. Thanks. Zach -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 2:42 PM To: Zach Curtis Cc: [EMAIL PROTECTED] Subject: Re: [PHP] GD 1.8.4 GD1 uses Freetype 1 and you a

[PHP] bulk mail

2002-08-27 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I know a lot has been discussed in this topic, but I still don't find any solution. What I want to do is send a lot of mails triggered from a web page using php. I've found diferent solutions but all of them has some problem: 1) using set_time_limit

[PHP] Re: Please helpme !! files problems..

2002-08-27 Thread Richard Lynch
>Hi! Sorry for this stupid question but i am a begginer learning from a >old book (dangerous combination), So i have to convert every example to >not use old methods... >I have to problems and i look every where and could not resolve. >firstone: >i have a form like this... > > >Send this file: >

[PHP] Re: filter records... how?

2002-08-27 Thread Richard Lynch
>I have this set of code. and what I want to know how to do is how to >filter one or more vars in the flat file? For example filter all the >people that work "at night" Honestly, you'd be best off moving the data into a database (MySQL or otherwise)... At this point, you're starting to do a

[PHP] Re: Just learning . . . HTML Form & PHP

2002-08-27 Thread Richard Lynch
>Next I'd just like to confirm that the fields are not blank and send a >custom error message. But I think I'm confused about where to place the >code. Where you currently have "if ($send != "no"){ ... }" you could tack on something like: else{ echo $name_err; echo $email_err; echo $last

[PHP] Re: '#' character breaking the URL string

2002-08-27 Thread Richard Lynch
>I have a 5-step (5 page) process in which users must answer various >questions. Each page passes along the data to the next page, at the same >time capturing the data from the previous page and passing that along too. > >To capture all the data submitted previously, I have the following code: >

[PHP] Re: Are sessions affected by Unix user changes?

2002-08-27 Thread Richard Lynch
>Are sessions in PHP somehow affected by changes in Unix users? I know that >the only recent changes to the server have been the addition of a few Unix >users and the changing of some older passwords, but now sessions do not work >within PHP. > >Is a session related to a web (default?) user? Sess

[PHP] Re: exif_thumbnail() problems

2002-08-27 Thread Richard Lynch
Can't help with the exif stuff. >I tried using imagecreatefromjpeg() but that tells me theres no such >function. That means you forgot the --with-jpeg-dir when you did the --with-gd or the --with-gd never kicked in properly or... Basically, you didn't configure right, so go back to that stage.

[PHP] Re: Newbie,module or CGI and server question

2002-08-27 Thread Richard Lynch
>Hi, >I just installed PHP via PHPTriad...I have a couple of simple questions I >hope you can answer > >1)How do i know if this is running a module or cgi version? Look at the output in the top part. You'll see CGI or ISAPI or ASAPI or whatever. There's also a built-in function to detec

[PHP] Re: pattern matching urls

2002-08-27 Thread Richard Lynch
>Just wanting some advice on something im doing, basically im storing >news into mysql and what i want to do is, when the news is displayed, if >a url is in there ie(http://www.blahblah.com OR >mailto:[EMAIL PROTECTED]) it will automatically be displayed as a link, >im considering using preg_match

[PHP] Re: PHPSESSID appended to URL on initial page load

2002-08-27 Thread Richard Lynch
>disable URL rewriting altogether and rely soley on cookies. How do I >disable PHP session URL rewriting? I don't see a setting in php.ini for it. > >; use transient sid support if enabled by compiling with --enable-trans-sid. >session.use_trans_sid = 1 This one. -- Like Music? http://l-i-e.c

[PHP] Re: getting directory info

2002-08-27 Thread Richard Lynch
>Can I use php to get a list of all the jpgs in a folder? I want to make a >photo album type thing for a website, and I want it to be real simple (i.e. >you put photos (jpgs) in a folder called photos and upload them. Then the >album is built dynamically using php. Thoughts? http://php.net/ope

[PHP] Re: problem with using include files

2002-08-27 Thread Richard Lynch
>The problem I have when using include files is the path to different parts >of the web site. > >To Explain: > >I have a header.inc file in an inc directory: > >root > |___inc > | |___header.inc You may want to move your include files outside the web tree so that malicious users can't surf

[PHP] Re: array_push

2002-08-27 Thread Richard Lynch
>why this array_push($x ? $a : $b, 'value'); produce error(Fatal error: >Only variables can be passed by reference) > > >$x = 1; >#$x = 0; > >$a = array(); >$b = array(); > >array_push($x ? $a : $b, 'value'); > >i must rewrote this in > >if ($x) > array_push($a, 'value'); >else > array_push($b

[PHP] Please helpme !! files problems..

2002-08-27 Thread Sebastian Tomasino
Hi! Sorry for this stupid question but i am a begginer learning from a old book (dangerous combination), So i have to convert every example to not use old methods... I have to problems and i look every where and could not resolve. firstone: i have a form like this... Send this file: but i

[PHP] filter records... how?

2002-08-27 Thread Matt Zur
I have this set of code. and what I want to know how to do is how to filter one or more vars in the flat file? For example filter all the people that work "at night" I'm assuming it has to be in this part of the code: for($i = 0; $i < count($arr_lines); $i++) { $arr_data = explode($delim

[PHP] Re: sending email to a mailing list

2002-08-27 Thread Manuel Lemos
Hello, On 08/27/2002 12:38 PM, Raphael Hamzagic wrote: > Hi everyone, > > I'm with a little doubt about the best way to send a mail message to a large > mailing list using PHP. I'm not interested in existing mailing list > managers, or source codes. > I dont know if the best way to send emails

Re: [PHP] GD 1.8.4

2002-08-27 Thread Rasmus Lerdorf
GD1 uses Freetype 1 and you appear to have Freetype2. Grab GD2 instead. On Tue, 27 Aug 2002, Zach Curtis wrote: > I have spent most of the day trying to get gd 1.8.4, freetype2, libpng, > zlib, and jpeg-6b to work with PHP 4.0.6 running on Solaris 7. I am not to > yet to point of configuring th

[PHP] GD 1.8.4

2002-08-27 Thread Zach Curtis
I have spent most of the day trying to get gd 1.8.4, freetype2, libpng, zlib, and jpeg-6b to work with PHP 4.0.6 running on Solaris 7. I am not to yet to point of configuring this with PHP. I can't get 'make' to run on gd 1.8.4: gdft.c:36: freetype/freetype.h: No such file or directory gdft.c:37:

[PHP] '#' character breaking the URL string

2002-08-27 Thread Joseph Szobody
I have a 5-step (5 page) process in which users must answer various questions. Each page passes along the data to the next page, at the same time capturing the data from the previous page and passing that along too. To capture all the data submitted previously, I have the following code: $a =

[PHP] Just learning . . . HTML Form & PHP

2002-08-27 Thread April Lougheed
Dear forum: I'm trying to do several basic things with an HTML form and PHP. So far, I've gotten the form to write to a MySQL database, send email and echo the fields after the form is submitted. Next I'd just like to confirm that the fields are not blank and send a custom error message. But

[PHP] Are sessions affected by Unix user changes?

2002-08-27 Thread K Soares
Are sessions in PHP somehow affected by changes in Unix users? I know that the only recent changes to the server have been the addition of a few Unix users and the changing of some older passwords, but now sessions do not work within PHP. Is a session related to a web (default?) user? K. -- P

Re: [PHP] php_flag not valid?

2002-08-27 Thread Steve Fox
On Tue, 2002-08-27 at 14:45, Rasmus Lerdorf wrote: > Known Apache 2.0 related bug. Not sure anybody is looking at it. :( At least I can quit banging my head against my keyboard now :) Thanks much Rasmus. -- Steve Fox IBM Linux Technology Center http://www.ibm.com/linux/ltc http://k-lug.org

Re: [PHP] php_flag not valid?

2002-08-27 Thread Rasmus Lerdorf
Known Apache 2.0 related bug. Not sure anybody is looking at it. On 27 Aug 2002, Steve Fox wrote: > I'm using Apache 2.0.40 with PHP 4.2.2 from Red Hat Linux 8.0 beta 3 > (null). php_value statements in my httpd.conf work fine, but php_value > is not recognized, giving the error message below:

[PHP] php_flag not valid?

2002-08-27 Thread Steve Fox
I'm using Apache 2.0.40 with PHP 4.2.2 from Red Hat Linux 8.0 beta 3 (null). php_value statements in my httpd.conf work fine, but php_value is not recognized, giving the error message below: Starting httpd: Syntax error on line 336 of /etc/httpd/conf/httpd.conf: Invalid command 'php_flag', perhap

[PHP] exif_thumbnail() problems

2002-08-27 Thread hrd
Ok, I recently recompiled PHP with GD and exif support. Now, I wanted to test exif_thumbnail() so created an jpeg image which had an embedded thumbnail. I used the exif_thumbnail() example at the php.net website, but it returns errors. The first error I get is an incorrect parameter count when I

[PHP] Newbie,module or CGI and server question

2002-08-27 Thread Ryan A
Hi, I just installed PHP via PHPTriad...I have a couple of simple questions I hope you can answer 1)How do i know if this is running a module or cgi version? I own 3 dot coms which are not being hosted...too expensive :-(( no job..:-(( 2)How can i host a test site on this? (I am on wi

RE: [PHP] file reading

2002-08-27 Thread Brad Dameron
'w+' - Open for reading and writing; place the file pointer at the beginning of the file and truncate the file to zero length. If the file does not exist, attempt to create it. Change it to "r" since you are only reading. Also check to make sure your pathing is correct. --- Brad Dameron

[PHP] Re: file reading

2002-08-27 Thread Philip Hallstrom
You want "r" instead of "w+". I'd suggest reading the Filesystem Functions section of the manual again... good luck! -philip On Tue, 27 Aug 2002, phper wrote: > how do I read the contents of a file. > > $FileStream = fopen("webmaster/forum".$Forum."/forumtopics.txt", "w+"); > $line = fgetss

[PHP] file reading

2002-08-27 Thread phper
how do I read the contents of a file. $FileStream = fopen("webmaster/forum".$Forum."/forumtopics.txt", "w+"); $line = fgetss ($FileStream, 255); print ("number is: ".$line." "); fclose($FileStream); always returns nothing -- PHP General Mailing List (http://www.php.net/) To unsubsc

RE: [PHP] PHP: User Authentication Script

2002-08-27 Thread Vail, Warren
Sounds like you've identified your problem. I have never installed a module but you can check out http://www.apache.org/ for some help installing modules on the Apache server. I believe it involves compiling the server, for Windows platforms I believe you need Visual C++ 6.0. If that is to tech

php-general Digest 27 Aug 2002 17:21:48 -0000 Issue 1550

2002-08-27 Thread php-general-digest-help
php-general Digest 27 Aug 2002 17:21:48 - Issue 1550 Topics (messages 114217 through 114269): Re: pattern matching urls 114217 by: Justin French Re: Date conversion problems 114218 by: David Robley 114245 by: Liam.Gibbs.dfait-maeci.gc.ca Re: Output Compression & ou

[PHP] Re: MySQL PASSWORD() Question

2002-08-27 Thread Tony Harrison
cheers "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > >If I insert a row's field's value using the PASSWORD() function, will I need > >to use it or another function to find that row using the same field? > > You'll need to do this when somebody tries to log in la

RE: [PHP] Re: HTML-based mail with PHP

2002-08-27 Thread Liam . Gibbs
> I've seen this before. I believe it had something to do with Microsoft's > screwed up cacheing routine. No guarantees, but delete the contents of > your temporary internet files folder and try again. No, that wasn't it. I'm using a newer computer now, and I just tried it. -- PHP General Mai

Re: [PHP] PHPSESSID appended to URL on initial page load

2002-08-27 Thread Gerard Samuel
Actually, over the weekend, I started using sessions in my scripts. All I did was start it using session_start(); I only noticed this behaviour using Opera 6.02 Linux browser running under FBSD 4.6-Stable. (It may have happened in mozilla 1.0 r3, but I may have not paid attention to it). I load

[PHP] PHPSESSID appended to URL on initial page load

2002-08-27 Thread Monte Ohrt
Hi, I have a few questions with php sessions, below is an example script: test_sess.php - local path When I initially load the file (session cookie gets set), the HREF link gets the PHPSESSID appended to it. If I reload the page (cookie already set) the appendage goes away. Ac

[PHP] sending email to a mailing list

2002-08-27 Thread Raphael Hamzagic
Hi everyone, I'm with a little doubt about the best way to send a mail message to a large mailing list using PHP. I'm not interested in existing mailing list managers, or source codes. I dont know if the best way to send emails is to use a repeat loop with mail() function, or use some other stru

RE: [PHP] Re: An if statment that someone else designed and I can't parse ;(

2002-08-27 Thread Mike
I can't use this because there is some other stuff that is also in % signs... The whole line is as thus: $string = "a href=\"{$_SERVER['PHP_SELF']}?thing=do&id=%number%\">%some% - %stuff% %if%%artist%?(%artist% Minutes):\"WAH!\"%if%"; So doing an explode on all the % signs would not work unfortun

Re: [PHP] flaking out on foreach

2002-08-27 Thread Gerard Samuel
Bad code. Take the ';' off the end of the foreach... ROBERT MCPEAK wrote: >Why is this code: > > > $bob=array(1,2,3,5,6); > > foreach($bob as $foo); > { > echo "$foo"; >

Re: [PHP] flaking out on foreach

2002-08-27 Thread Adam Voigt
Don't put a semicolon after the foreach. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-08-27 at 11:07, ROBERT MCPEAK wrote: > Why is this code: > > > $bob=array(1,2,3,5,6); > > foreach($bob as $foo); >

RE: [PHP] flaking out on foreach

2002-08-27 Thread Matt Schroebel
> From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 27, 2002 11:08 AM > Subject: [PHP] flaking out on foreach > > > Why is this code: > > > $bob=array(1,2,3,5,6); > > foreach($bob as $foo);

[PHP] Re: flaking out on foreach

2002-08-27 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Robert McPeak) wrote: > Why is this code: > > > $bob=array(1,2,3,5,6); > > foreach($bob as $foo); > { > echo "$foo";

[PHP] flaking out on foreach

2002-08-27 Thread ROBERT MCPEAK
Why is this code: "; } ?> Rendering only "6". That's it. Just "6". What am I missing here? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] search in serialized string

2002-08-27 Thread DL Neil
Rodrigo, Yuk! No wonder I was having trouble visualising your problem... The serialised field cannot be meaningfully indexed (it's a waste of time if it is). That means that any search against a criteria involving a/the serialised field will require (the time to perform an) the examination of eve

Re: [PHP] move_uploaded_file problem

2002-08-27 Thread @ Edwin
There could be a lot of different reasons why. Check the manual again (esp. the user's comments). I'm sure you'll find a lot of ideas. http://www.php.net/manual/en/features.file-upload.php Also, this has been discussed many times recently. I'm sure you'll find a lot too in the archives. :) -

Re: [PHP] PHP: User Authentication Script

2002-08-27 Thread @ Edwin
You can insert the line at the very end of your httpd.conf file... I'm sure you can find more info here... http://www.php.net/manual/en/install.windows.php - E > >Thank you for the reply Farianto. > >Exactly where in the > >httpd.conf file > >should I insert that line? > >If you could copy an

Re: [PHP] Compiling PHP with Sablot support

2002-08-27 Thread Dan Hardiker
> There should be a new entry like "XSLT enabled" under "XML enabled" in > your PHPinfo in case of successful set-up. Thats what Im looking for, but cant find it... however the configure line still says its in there. > I'm not very familiar with the Unix build, but just to be sure can you > chec

Re: [PHP] Compiling PHP with Sablot support

2002-08-27 Thread Stas Maximov
Hi, There should be a new entry like "XSLT enabled" under "XML enabled" in your PHPinfo in case of successful set-up. I'm not very familiar with the Unix build, but just to be sure can you check if you uncommented the xslt extension in your php.ini file (if any)? HTH, Stas - Original Message

Re: [PHP] PHP - Chat?

2002-08-27 Thread Adam Voigt
PHPOpenChat: http://phpopenchat.sourceforge.net/ Very good. Adam Voigt [EMAIL PROTECTED] > On Tue, 27 Aug 2002, Andy wrote: > > > HI there, > > > > I am wondering if a Chat coded in PHP would be sufficiant for a medium sized > > site. Maybe someone has a working example online. It would be no

[PHP] Compiling PHP with Sablot support

2002-08-27 Thread Dan Hardiker
Hi All, I have PHP-4.3.0(dev) [php cvs version] and have the following configure: ../configure --with-mysql=/usr/local/ --with-gd=/usr/local/ --with-openssl --with-curl --enable-ftp --with-dom --with-xml --enable-trans-sid --enable-sockets --enable-wddx --with-zlib --with-mcrypt=/usr/local/ --wi

Re: [PHP] PHP - Chat?

2002-08-27 Thread Adam Williams
look around for phpmychat Maybe its on freshmeat.net? Adam On Tue, 27 Aug 2002, Andy wrote: > HI there, > > I am wondering if a Chat coded in PHP would be sufficiant for a medium sized > site. Maybe someone has a working example online. It would be no problem to > get a

[PHP] move_uploaded_file problem

2002-08-27 Thread David Rothe
I'm trying to enable my site users to upload pictures (using the move_uploaded_file function) This works fine on my home development machine but 'not' on the deployment server. This is a shared server with 'safe mode' enabled. (The php manual seems to suggest that it should still work despite saf

Re: [PHP] getting directory info

2002-08-27 Thread Jason Wong
On Tuesday 27 August 2002 20:51, Alexander Ross wrote: > Can I use php to get a list of all the jpgs in a folder? manual -> Directory functions > I want to make a > photo album type thing for a website, and I want it to be real simple (i.e. > you put photos (jpgs) in a folder called photos and

Re: [PHP] problem with using include files

2002-08-27 Thread Stas Maximov
This should help you. This way the browser will look for images directory in the root of your webserver. Regards, Stas - Original Message - From: "Ivan Carey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 27, 2002 1:50 PM Subject: [PHP] problem with using include fil

[PHP] problem with using include files

2002-08-27 Thread Ivan Carey
Hello The problem I have when using include files is the path to different parts of the web site. To Explain: I have a header.inc file in an inc directory: root |___inc | |___header.inc | |___images | |___topbar_01.gif | |___faq |___faq.php In the header.inc file th

[PHP] getting directory info

2002-08-27 Thread Alexander Ross
Can I use php to get a list of all the jpgs in a folder? I want to make a photo album type thing for a website, and I want it to be real simple (i.e. you put photos (jpgs) in a folder called photos and upload them. Then the album is built dynamically using php. Thoughts? -- PHP General Mail

RE: [PHP] Date conversion problems

2002-08-27 Thread Liam . Gibbs
> mktime generally only works thru 2037. Why not create an array of the > months, and index in: > $months = array('Jan','Feb',); > $enddate = explode("-", $datereuslt[0]); > $finaldate = $months[$enddate-1] . "-$enddate[1]"; That's what I thought I might have to do. It's an alternative, but

[PHP] use VB DLL (COM object) with php

2002-08-27 Thread Franky
I try to use a simple COM write in VB ... == Option Explicit Dim sc As ScriptingContext Sub OnStartPage(AspSC As ScriptingContext) Set sc = AspSC End Sub Public Function ecrire() sc.Response.Write "Voici mon super texte" End Function

Re: [PHP] PHP: User Authentication Script

2002-08-27 Thread Anthony Ritter
Thank you for the reply Farianto. Exactly where in the httpd.conf file should I insert that line? If you could copy and paste the line *above* and *below* in the httpd.conf file that already exists so I know the location I would appreciate it. Thanks again. TR for example: # blahblah1 Load

[PHP] php and xml

2002-08-27 Thread Alia Mikati
Hello What's the best to convert HTML to XML that I can use in PHP Thx a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP & xml: urgent!

2002-08-27 Thread Alia Mikati
Hello, I have an HTML file. I want to transform it to XML then filter it and transform it to another XML file. I used Sablotron with PHP to apply XSL to XML to filter the XML file. But I'm facing problems when I want to transform HTML to XML. I used TIDY but it seems it transforms to XHTML in

[PHP] Re: sessions?

2002-08-27 Thread CHAILLAN Nicolas
"Mark Faine" <[EMAIL PROTECTED]> a écrit dans le message de news: 8ioeq3$kg2$[EMAIL PROTECTED] > Linux Mandrake 7.1 Apache/PHP4 > > I'm trying to implement this mysql session scheme as describe here: > http://phpbuilder.com/columns/ying2602.php3 > > A.) my sessions are not being saved into th

RE: [PHP] Re: Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Matt Schroebel
> > However.. you think it might be not sure that this workes > for every browser? > > PUh... thats bad. Do u have examples for that? It workes > with IE on PC. Well, the HTTP 1.1 spec says it shouldn't be set when it's typed into the address line. That happens often enough that it can't be r

Re: [PHP] exec problem

2002-08-27 Thread Andrew Brampton
If you are trying to receive the output of the command line you can use the backtick notation $list = `ls`; Hope that helps Andrew "Mark" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > i'm basicly trying to execute an executeable with this following script. >

Re: [PHP] Re: Tricky question - referrer from ousite, or fromintern?

2002-08-27 Thread Justin French
on 27/08/02 7:00 PM, Andy ([EMAIL PROTECTED]) wrote: > However.. you think it might be not sure that this workes for every browser? > PUh... thats bad. Do u have examples for that? It workes with IE on PC. I don't actually know of any that don't set the referrer, and probably 99% of your vistors

[PHP] array_push

2002-08-27 Thread Michal Dvoracek
Hello, why this array_push($x ? $a : $b, 'value'); produce error(Fatal error: Only variables can be passed by reference) http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Bogdan Stancescu
Justin is right, there's no guarantee the referrer will be set. What you can do however is have a common pre-registration page you link to from everywhere on the site - and set some variable there to acknowledge they came from the site - and give "members" the direct address to the registratio

[PHP] imagecreatefrompng...fails

2002-08-27 Thread David Herring
Trying to install apache 1.3.26 plus PHP 4.2.2 installed and cannot get the libpng stuff to work with GD in the apache error log I get:- [Tue Aug 27 09:31:10 2002] [notice] child pid 6825 exit signal Segmentation fault (11) [Tue Aug 27 09:31:10 2002] [notice] child pid 6824 exit signal

[PHP] Re: PHP - Chat?

2002-08-27 Thread Bogdan Stancescu
Check freshmeat - there are a couple of more than reasonable such projects (unfortunately I don't remember the names, but I checked some out and they seemed ok). Bogdan Andy wrote: > HI there, > > I am wondering if a Chat coded in PHP would be sufficiant for a medium sized > site. Maybe someo

[PHP] Re: exec problem

2002-08-27 Thread Anders K. Madsen
> I'm getting a value of 0 returned, but from a command line the executable > works fine and does what it is suposed to do is there any other way i can do > this or ami i doing it work ?? Well, as far as I know, command-line returnes 0 on success and other on failure. So if your exec ( $command,

[PHP] Re: Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Andy
Hello Justin, I just saw that you have been faster than me :-) However.. you think it might be not sure that this workes for every browser? PUh... thats bad. Do u have examples for that? It workes with IE on PC. Cheers Andy "Andy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]"

  1   2   >