Re: [PHP] image retrival from db?

2001-06-19 Thread Ethan Schroeder
You need to set the content type. eg: echo Content-type: image/gif; echo $row[image]; Ethan - Original Message - From: Steve [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 3:56 PM Subject: [PHP] image retrival from db? Anyone have a pointer to a script or

Re: [PHP] image retrival from db?

2001-06-19 Thread Ethan Schroeder
I meant to say Header(Content-type: image/gif); - Original Message - From: Steve [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 3:56 PM Subject: [PHP] image retrival from db? Anyone have a pointer to a script or documentation on how to retrieve an image that is

Re: [PHP] INSERT problem with MySQL/PHP

2001-06-19 Thread Ethan Schroeder
replace $result = mysql_db_query('item_db', $sql_query, $connection_id); with $result = mysql_db_query('item_db', $sql, $connection_id); or just mysql_query($sql); - Original Message - From: Todd A. Jacobs [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Monday, June 18, 2001

[PHP] Pie Charts Bar Charts Line Charts...

2001-06-19 Thread Karl J. Stubsjoen
Hey Guys, Anyone have any good starting points for delivering charts on the web? Thanks a bunch. Karl J. Stubsjoen www.iexcelinlife.com [EMAIL PROTECTED] Phone: 602.447

Re: [PHP] INSERT problem with MySQL/PHP

2001-06-19 Thread Todd A. Jacobs
On Mon, 18 Jun 2001, Todd A. Jacobs wrote: $sql = INSERT INTO question VALUES (NULL, $user_idx, $objective, '$question', '$question_type', NULL, NULL); $result = mysql_db_query('item_db', $sql_query, $connection_id); Thanks to all who answered. It was a simple mistake, but

Re: [PHP] Solution to headers already sent error.

2001-06-19 Thread Ethan Schroeder
(PHP4) In your php.ini file: output_buffering = On Now you can send header calls and session calls whenever you want. Also, take a look at: http://www.php.net/manual/en/ref.outcontrol.php Ethan - Original Message - From: Alexander Wagner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[PHP] upload on Win9x

2001-06-19 Thread Christian Dechery
I can't get file uploads to work on my Windows 98Me running Apache+PHP4.05... I did everything correctly according to the script I found on phpbuilder... it simply won't go... the error message is something like can't open c:\file.ext for reading... it's like it thinks it's a local file...

[PHP] yes! it's back

2001-06-19 Thread Jacky
I've been waiting for this time. Jack[EMAIL PROTECTED]"There is nothing more rewarding than reaching the goal you've set for yourself"

[PHP] test

2001-06-19 Thread [EMAIL PROTECTED]
test Jack [EMAIL PROTECTED] There is nothing more rewarding than reaching the goal you've set for yourself

RE: [PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked

2001-06-19 Thread Jason Murray
Subject: [PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked That's right - if the checkbox isn't checked the browser doesn't send it. Jason

Re[2]: [PHP] variables in a e-mail

2001-06-19 Thread Richard Kurth
Hello Alexander, This is pretty much what I want to do. I want to have a e-mail script in my application and have it so the user can customize the e-mail that is sent out in a configure file. Say he wants to send a recurring bill to his customers and he wants it to look a certain way. He would

Re: [PHP] Multipe Tables, Single Query Problem

2001-06-19 Thread Chris Aitken
At 01:57 PM 6/06/2001, you wrote: Hi all, I have three tables in my (mysql) database: videos - ID, title, description, etc.. links - ID, videoID, actorID actors - ID, name, dateofbirth, gender, etc... what i need to do is return a particular video and all it's staring actors with just one

[PHP] Re: Lists are back up

2001-06-19 Thread Rasmus Lerdorf
More seriously ... Can we get a report on what happened? If this happens in the future, is there some way of putting an alternative in place quickly? For example, could phpbuilder take up the slack? Could this outage lend fuel to the Who do you sue? and Open Source is unreliable schools.

[PHP] test

2001-06-19 Thread Jacky
test Jack[EMAIL PROTECTED]"There is nothing more rewarding than reaching the goal you've set for yourself"

Re: [PHP] Re: Lists are back up

2001-06-19 Thread David VanHorn
At 12:01 AM 6/19/01 +0200, Alexander Skwar wrote: So sprach Clayton Dukes am Mon, Jun 18, 2001 at 05:38:26PM -0400: Why not just set your filter to look for [EMAIL PROTECTED] in the to or cc line? Because not all filters support that, and it makes reading mails eg. via webmail interfaces

RE: [PHP] email forms

2001-06-19 Thread Jason Murray
Hi tim, Change this: mail($toaddress, $subject, $mailcontent, $fromaddress); mail ($toaddress, $subject, $mailcontent, From: Real Name $fromaddress\nReply-to: $fromaddress\n); I've spoken to the hosting company, they say they will not provide any assistance to PHP script

Re: [PHP] Apache/PHP4 Question

2001-06-19 Thread Rasmus Lerdorf
I have a Server Running Apache 1.3.14 and it has PHP4 running as a module. For our customers we require that they use .cgi for all of their scripts and so if a user wants to run a php4 script on our server they use www.blah.com/myphpfile.cgi with of course the first line being

Re: [PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked

2001-06-19 Thread Rasmus Lerdorf
The problem is that if a checkbox is not checked, when it's not required, I don't get a blank entry in my tab file for the checkbox input. I'm imploding my HTTP_POST_VARS variable like so; This has nothing to do with PHP. Your browser sends nothing for an unchecked checkbox. You would have

[PHP] [php]using sendmail with php

2001-06-19 Thread Chris Cocuzzo
hey- i noticed a recent post about the weird email that someone was getting from a script that emails form data. I was curious on whether or not I could use sendmail with php, to possibly get around this problem(I've run into it myself). How might i do this?... chris

[PHP] php bug reporting

2001-06-19 Thread akhil chugh
Dear Sir i am getting a bug in php where by i can't pass the values of the data entered by the user into the database pls help --akhil Get free email and a permanent address at http://www.netaddress.com/?N=1

[PHP] Shortest route between 2 cities

2001-06-19 Thread Vahan Yerkanian
Greetings All! I'm looking for a code which will find the shortest route between 2 cities, with data being stored in SQL tables listed below. Anyone has coded such a task ever? The most know algorithm for this is called Dijkstra's algoritm. Is there anyone with math skills enough to code this?

Re: [PHP] Templates??

2001-06-19 Thread Attila Strauss
Hi, What the true advantage of using templates Abstraction between PHP and HTML. where can I get info on using them? have a look at the well-known php sites like: http://www.phpbuilder.com/ http://www.phpdeveloper.org/ http://www.newbienetwork.net/ http://www.evilwalrus.com/

Re: [PHP] Multipe Tables, Single Query Problem

2001-06-19 Thread Christopher Ostmo
Simon Kimber pressed the little lettered thingies in this order... Hi all, I have three tables in my (mysql) database: videos - ID, title, description, etc.. links - ID, videoID, actorID actors - ID, name, dateofbirth, gender, etc... You need to be able to tie at least one field from

Re: [PHP] Templates??

2001-06-19 Thread Les Neste
The template defines the look and feel for a class of pages. The advantage is in allowing you to change one file -- the template file -- and have your changes be reflected in all the individual pages that use the template WITHOUT having to individually edit all of those pages. For smaller

[PHP] Passing Array through URL

2001-06-19 Thread Reuben D Budiardja
Hello, I have one-dimensional array with a very a lot elements (say, about 300). What is the best way to pass it through URL? do I use something like implode the whole thing and then pass it, or do I use something like serialize, or any other way? Thanks for any reply. Reuben D. Budiarjda

[PHP] YES -- THIS SERVER IS BACK UP!

2001-06-19 Thread Jason Caldwell
T H A N K Y O U ! Jason

RE: [PHP] INSERT problem with MySQL/PHP

2001-06-19 Thread Jason Murray
Can anyone tell me what might be wrong? $user_idx = 1; $objective = 1; $question = 'Foo'; $question_type = 'singular'; $connection_id = mysql_connect ('192.168.1.1', 'php', 'password') or die (No connection.\n); $sql = INSERT INTO question VALUES

RE: [PHP] image retrival from db?

2001-06-19 Thread Ray Hilton
I thought this one was quite good to get you up to speed: http://www.phpbuilder.net/columns/florian19991014.php3 Thing is, although very technically nice, it isnt really very practical, as your database increases in size rapidly, and data retrival takes longer and longer. I would recommend you

RE: [PHP] What is the deal with cookies

2001-06-19 Thread Ray Hilton
Well, when you set a cookie, it is sent in the headers, so the browser isnt going to send the cookie back to the server until a refresh, the best way is to either cash the userlog on details in the log in function, so you need not refresh, or simply use a header(Location: /); or something to

RE: [PHP] send data to a file composed of frames

2001-06-19 Thread Ray Hilton
The only real way I see you maintaining a session like that is to use cookies or some sort of client identifier so you can keep trak of that user and if ther are logged in or not. Then you just have some sort of flag that determines the course of action for your site. I am not entirely sure

[PHP] Re: Lists are back up

2001-06-19 Thread Adrian D'Costa
Hi Rasmus, I was home sick with out this mailing list ;-) I found that this is the only list that can get quick responses (most of the times). I am glad it is up Adrian On Mon, 18 Jun 2001, Rasmus Lerdorf wrote: We have re-enabled the PHP mailing lists. They are now running from a

RE: [PHP] Multipe Tables, Single Query Problem

2001-06-19 Thread Ray Hilton
Something like: SELECT name, title, description from videos, actors, links where actors.ID = links.ID and videos.ID=videoID, and videos.ID = 20; ? But in just want one row? You could return all the names in one row (I think) using MySQL (I assume?) string functions... I have a funny feeling

Re: [PHP] upload on Win9x

2001-06-19 Thread Andrew Halliday
Have you set the content type of the form to be multipart MIME ? That screws me every time... AndrewH - Original Message - From: Christian Dechery [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 19, 2001 11:16 AM Subject: [PHP] upload on Win9x I can't get file uploads to

[PHP] simulate form submission

2001-06-19 Thread Pascal Polleunus
Hi, Does someone know how to simulate a form submission? I guess I need to do something like header(Location: http://www.mysite.com;); header($PostVarsData); where $PostVarsData must contains the header informations to send the post vars but what are these header informations?

RE: [PHP] email forms

2001-06-19 Thread Jon Haworth
$fromaddress = [EMAIL PROTECTED]; mail($toaddress, $subject, $mailcontent, $fromaddress); Should probably be: $fromaddress = From: [EMAIL PROTECTED]; mail($toaddress, $subject, $mailcontent, $fromaddress); Splitting hairs a bit, a more accurate name for $fromadress would be $headers - in the

Re: [PHP] Pie Charts Bar Charts Line Charts...

2001-06-19 Thread Richard Stockley
There is a very fine OO Graphing Class that has been written that supports, scatter, pie, 3dpie, bar etc... just needs gd support to work http://www.aditus.nu/jpgraph/ Hey Guys, Anyone have any good starting points for delivering charts on the web? Thanks a bunch. Karl J. Stubsjoen --

[PHP] PHP with JAVA support

2001-06-19 Thread Robert Vetter
Hello, I'm trying to run PHP with Java support and don't get it to work. First I compiled PHP '--with-java=/usr/local/jdk1.2.2/'. Then I added this to the PHP.ini file: [Java] java.home=/usr/local/jdk1.2.2 java.class.path=/usr/local/lib/php/extensions/php_java.jar:/usr/local/jdk1.2.2/src.jar

SV: [PHP] Re: Lists are back up

2001-06-19 Thread Mattias Segerdahl
For all those that's seeking support for php, there are two options, zend.com sells SOS, you could also join #php on efnet for help.. // bad2da -Ursprungligt meddelande- Fran: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Skickat: den 19 juni 2001 05:31 Till: Miles Thompson Kopia: [EMAIL

[PHP] SetCookie weirdness

2001-06-19 Thread Tomaz Kovacic
Hi! Last night I've found some interesting cookie behavior. I was testing some script on my local server, so I used short version of domain ( http://www ) to reach local webserver. My script stopped working, so I started to investigate a little bit what's goin on.. I've managed to get my script

[PHP] PHP Interact with DreamWaver

2001-06-19 Thread Jack
Dear All I'm fresh on the php, but i just want to ask what should i do to let my existing Dreamwaver Made homepage to interact with Php, which means i had used dreamwave to draw the layout, using firework for the image, then i want to provide some function for the user like forms input, which i

[PHP] [Announce]Rasmus Lerdorf to speak at New England PHP User Group meeting

2001-06-19 Thread TomHenry
[PHPUGNE] PHP User Group of New England Inaugural meeting set for 7:00 p.m. on Tuesday June 26th, 2001 Rasmus Lerdorf to speak at New England PHP User Group Inaugural Meeting! We are pleased to invite you to attend the inaugural meeting of the New England PHP User Group Rasmus Lerdorf, the

RE: [PHP] [php]using sendmail with php

2001-06-19 Thread Jamie Thompson
What is this problem you speak of? I have never come across any problems with mail().maybe i'm not trying hard enough ;) -Original Message- From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]] Sent: 19 June 2001 05:04 To: PHP General List (E-mail) Subject: [PHP] [php]using sendmail with

[PHP] PHP Hosting in The UK

2001-06-19 Thread Jamie Thompson
Just a quickieDoes anyone know of any cheap but reliable (i.e. they know at least something about PHP) Hosting companies in the UK? By cheap i mean about £10 a month. Speed isn't an issue as long as were not talking a snails pace. Cheers Jamie Funkdaddy Thompson

Re: [PHP] Re: Lists are back up

2001-06-19 Thread Jon A
I use Eudora, and it works fine for me, filtering on Cc lines. what I do: To: contains : [EMAIL PROTECTED] or Cc: contains : [EMAIL PROTECTED] transfer to: I/want/it/here Hope it helps Jon A At 22:43 18-06-01 -0500, David VanHorn wrote: At 12:01 AM 6/19/01 +0200, Alexander Skwar wrote: So

[PHP] Payflo Pro and credit cards

2001-06-19 Thread Tobias Talltorp
I have a few questions regarding credit cards and the Payflo Pro function in PHP. Currently I only need to check that the creditcard is valid, no actual payment is needed right now. 1) How do I perform this check against Payflo Pro? 2) How and where should I save the credit card numbers? In a

RE: [PHP] php bug reporting

2001-06-19 Thread Jon Haworth
I think perhaps a bit more detail is needed :-) What's the error, can we see your code, what database are you using, etc. Cheers Jon -Original Message- From: akhil chugh [mailto:[EMAIL PROTECTED]] Sent: 19 June 2001 05:30 To: [EMAIL PROTECTED] Subject: [PHP] php bug reporting Dear

[PHP] Turning Off Headers

2001-06-19 Thread Meles Meles
Is there any way to tell PHP to NOT produce a Mime Header? None, none at all... Not a Content-type:, nothing... Badger[EMAIL PROTECTED] ---

[PHP] WebMail client

2001-06-19 Thread Rosen
Hi, I want to find some Web Mail script in PHP with possibilities to create mail accounts directly on Linux Mail server. Thanks Rosen Marinov

Re: [PHP] Re: Lists are back up

2001-06-19 Thread Andreas D. Landmark
At 19.06.2001 04:43, you wrote: Eudora can't filter on CC lines. I've dropped one subscription to another group because the members insisted on sending emails to each other individually, and CCing the group. Wrong! Eudora can filter on CC lines, Header CC: contains lists.php.net and filter

Re: [PHP] php bug reporting

2001-06-19 Thread Andreas D. Landmark
At 19.06.2001 05:29, you wrote: Dear Sir i am getting a bug in php where by i can't pass the values of the data entered by the user into the database pls help --akhil Show us your code, as more than 9 out of 10 times the error is in chair-screen section aka. operator/user and not in the

RE: [PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked

2001-06-19 Thread John Monfort
I had some issues with that recently. It turns out that PHP will not pick up the checkboxes, unless you use the GET method. You can then access your vars with HTTP_GET_VARS. This was discovered on WIN98+ PHP 4.03pl1 + Apache 1.3++ WIN ME + PHP 4.03pl1 + Apache 1.3++

RE: [PHP] email forms

2001-06-19 Thread Andreas D. Landmark
At 19.06.2001 04:45, you wrote: Hi tim, Change this: mail($toaddress, $subject, $mailcontent, $fromaddress); mail ($toaddress, $subject, $mailcontent, From: Real Name $fromaddress\nReply-to: $fromaddress\n); I've spoken to the hosting company, they say they will not provide

RE: Re[2]: [PHP] variables in a e-mail

2001-06-19 Thread Bruin, Bolke de
Use templates instead of sending it to the webbrowser send it as an email... http://www.phpbuilder.com for more info -Oorspronkelijk bericht- Van: Richard Kurth [mailto:[EMAIL PROTECTED]] Verzonden: Tuesday, June 19, 2001 4:51 AM Aan: [EMAIL PROTECTED]; Alexander Wagner Onderwerp:

[PHP] PHP with JAVA support

2001-06-19 Thread Robert Vetter
Hello, I'm trying to run PHP with Java support and don't get it to work. First I compiled PHP '--with-java=/usr/local/jdk1.2.2/'. Then I added this to the PHP.ini file: [Java] java.home=/usr/local/jdk1.2.2 java.class.path=/usr/local/lib/php/extensions/php_java.jar:/usr/local/jdk1.2.2/src.jar

[PHP] Re: PHP version?

2001-06-19 Thread Andreas D. Landmark
At 15.06.2001 10:29, you wrote: Hi Guys, I wonder if you can help. One of our servers has migrated to php V 4.05 from V 4.04. Unfortunately part of the site that accesses a MySQL database no longer functions. I have checked pretty much everything and it seems OK. Is there any changes in the

[PHP] Starting session

2001-06-19 Thread Rosen
Hi, I'm creating a WEB portal with PHP. I want to give possibility the users to register on my site and to use some features on it. I want to use sessions and to start session only if user login. How can I understand ot my other pages on site, thath the user has logged in my site. i.e. to

[PHP] Starting session

2001-06-19 Thread Rosen
Hi, I'm creating a WEB portal with PHP. I want to give possibility the users to register on my site and to use some features on it. I want to use sessions and to start session only if user login. How can I understand ot my other pages on site, thath the user has logged in my site. i.e. to

[PHP] Starting session

2001-06-19 Thread Rosen
Hi, I'm creating a WEB portal with PHP. I want to give possibility the users to register on my site and to use some features on it. I want to use sessions and to start session only if user login. How can I understand ot my other pages on site, thath the user has logged in my site. i.e. to

Re: [PHP] Apache/PHP4 Question

2001-06-19 Thread tony . mccrory
Sounds like you could remove the mime type for php in httpd.conf : AddType application/x-httpd-php .php Tony -- Tony McCrory IT, Trinity Mirror group (Ireland) (028) 9068 0168 [EMAIL PROTECTED]

Re: [PHP] WebMail client

2001-06-19 Thread Greg K
Try squirremail at http://www.squirrelmail.org Rosen [EMAIL PROTECTED] wrote in message 9gnf7f$dsk$[EMAIL PROTECTED]">news:9gnf7f$dsk$[EMAIL PROTECTED]... Hi, I want to find some Web Mail script in PHP with possibilities to create mail accounts directly on Linux Mail server. Thanks Rosen

[PHP] Performance with encoded files

2001-06-19 Thread Berthold Tenhumberg
Hi! I've testet the performance on plain code and encoded code. Both done with the optimizer 1.1.0 on the same maschine. The encoded skript needs 30 % more time to execute! Is that ok? -- B Tenhumberg (live long and prosper...)

RE: [PHP] [php]using sendmail with php

2001-06-19 Thread Ray Hilton
I assume you could do it like in perl: Open(MAIL, |/usr/lib/sendmail); Print MAIL OUTPUT; To: ray [EMAIL PROTECTED] From: someone [EMAIL PROTECTED] Subject: blah blah Note the line break before the body, blah blah blah OUTPUT Close(MAIL) I have no idea how you would do this in php, but I hope

Re: [PHP] input type=image name=done value=done doesnt work as expected

2001-06-19 Thread Chris Lee
ok. to anser my own questions. oi. type=image name=done then the var will not be $done but $done_x and $done_y -- Chris Lee [EMAIL PROTECTED] Chris Lee [EMAIL PROTECTED] wrote in message 9ehgvu$s2b$[EMAIL PROTECTED]">news:9ehgvu$s2b$[EMAIL PROTECTED]... ?php echo $done1br

Re: [PHP] Passing Array through URL

2001-06-19 Thread Christian Reiniger
On Tuesday 19 June 2001 07:51, Reuben D Budiardja wrote: Hello, I have one-dimensional array with a very a lot elements (say, about 300). What is the best way to pass it through URL? do I use something like implode the whole thing and then pass it, or do I use something like serialize, or

[PHP] apache and php ate up all my memory :-[

2001-06-19 Thread Sebastian Stadtlich
Hi all Probably some Apache/mysql/php-Admin gurus can give me a hint : i just moved a website to it's own server ( my first one). now apache had eaten up all physical and virtual memory some httpd had allocated 45MB of RAM, memory ran out myqsl crashed... php is compiled in to apache

Re: [PHP] Re: Lists are back up

2001-06-19 Thread Alexander Skwar
So sprach Wico de Leeuw am Tue, Jun 19, 2001 at 01:09:49PM +0200: I don't know which ancient version you are using but version 5+ can filter on cc: Don't know about Eudora, but filters in webmailers (like gmx.de) cannot filter on CC, nor can Lotus Notes 4.x filter reliably on CC. Those are

[PHP] simple messageboard released!

2001-06-19 Thread sunny AT wde
hi all! firstly a BIG thanks to rasmus for bringing the mailing lists back up :) secondly, seeing as there is always a big demand here and lot of questions asked about available PHP message boards / forums, I thought I'd point mine out. Wrote this one myself, very simple to configure and

[PHP] auto index in Apache

2001-06-19 Thread Zhu George-CZZ010
Please excuse me to post this Apache related question here, but I think most of you might be very familiar with Apache web sever and I couldn't find a Apache forum. In Apache, The index of a directory can come from one of two sources: 1. A file written by the user, typically called

[PHP] php and flash 5 books?

2001-06-19 Thread Jay Paulson
Anyone know of any good books that actually deal with php interfacing with flash 5? I've found one book but just curious if there are others out there... thanks, jay

Re: [PHP] Pie Charts Bar Charts Line Charts...

2001-06-19 Thread Andrew Halliday
For basic bars, use tables with divs whose width is set to a percentage of the table cell size using the style attribute eg: table tr tdnumber of unemployed/td tddiv style=background-color: red; width:4.7%/div/td /tr /table For XY scatters, PHPs dynamic graphic producing capabilities are

RE: [PHP] HTTP_POST_VARS not picking up checkboxes that are unche cked

2001-06-19 Thread Merio, Quinn
This is how i get around it. On the form page: input type=checkbox name=SUBSCRIBE value=YES checked On the submission page: if (empty($SUBSCRIBE)) { $SUBSCRIBE = NO; } hth, quinn merio www.vr2a.com -Original Message- From: John Monfort [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

[PHP] unsubscribe php-general

2001-06-19 Thread Michael Roark
unsubscribe php-general

Re: [PHP] simulate form submission

2001-06-19 Thread Gyozo Papp
Hello, an article was posted to Zend a few weeks ago its title was: Mimic form submissions in PHP by John Coggeshall Learn how you can use PHP to simulate GET and POST form submissions from within your PHP scripts. and the URL: http://www.zend.com/zend/spotlight/mimocsumissions.php hope

Re: [PHP] Re: Lists are back up

2001-06-19 Thread Wico de Leeuw
At 22:43 18-6-2001 -0500, David VanHorn wrote: At 12:01 AM 6/19/01 +0200, Alexander Skwar wrote: So sprach Clayton Dukes am Mon, Jun 18, 2001 at 05:38:26PM -0400: Why not just set your filter to look for [EMAIL PROTECTED] in the to or cc line? Because not all filters support that, and it

Re: [PHP] Starting session

2001-06-19 Thread Julie Tsai
Hi Rosen, Put your session_start(); session_unregister(var1, var2); functions at the beginning of your login page, but then destroy the session if login is false and on logout. session_unregister($var1); session_unregister($var2); session_destroy(); Finally, on subsequent pages that the

Re: [PHP] PHP Interact with DreamWaver

2001-06-19 Thread rm
I used to use DW 3.x and it would mangle the php code. I tried a demo version of DW 4.0 and it makes allowances for php code. To my knowledge there is no way to fix DW 3.x to properly work with php code. I've since changed to Homesite, after you get the hang ot it, it's better than dreamweaver.

Re: [PHP] WebMail client

2001-06-19 Thread Andreas D. Landmark
At 19.06.2001 14:56, you wrote: Try squirremail at http://www.squirrelmail.org Rosen [EMAIL PROTECTED] wrote in message 9gnf7f$dsk$[EMAIL PROTECTED]">news:9gnf7f$dsk$[EMAIL PROTECTED]... Hi, I want to find some Web Mail script in PHP with possibilities to create mail accounts directly on

Re: [PHP] Starting session

2001-06-19 Thread Chris Lee
why do you want todo it this way ? to tell if a user is logged in I assign a valid people_id (session_var) if the var has a valid id, then they are logged in, else they are not. -- Chris Lee [EMAIL PROTECTED] Rosen [EMAIL PROTECTED] wrote in message 9gnhvd$8qh$[EMAIL

RE: [PHP] HELP problems running PHP4 script in CRON

2001-06-19 Thread scott [gts]
try using full paths to your files. -Original Message- From: Splashy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 9:29 AM To: [EMAIL PROTECTED] Subject: [PHP] HELP problems running PHP4 script in CRON Hi, Please find script below and hopefully tell me why when I

[PHP] validate phone numbers

2001-06-19 Thread Richard Kurth
I am using this script to validate for phone numbers and it work just perfect for US phone numbers. But it rejects some European and Australian numbers what do I need to do to make it validate all phone numbers if (($WPHONE_NO) || ($wphone_no)) { $wphone_no = trim($wphone_no); if

RE: [PHP] php bug reporting

2001-06-19 Thread scott [gts]
akhil, do you have a database server installed ? -Original Message- From: Andreas D. Landmark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 1:18 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] php bug reporting At 19.06.2001 05:29, you wrote: Dear Sir i am getting a

Re: [PHP] .htaccess and secure image directory

2001-06-19 Thread Hugh Bothwell
(shrug) disable directory browsing. That should prabably be your default anyway. bill [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... If I upload images to a web directory using PHP, how can I prevent a web browser from getting a file list of the directory

Re: [PHP] image code

2001-06-19 Thread Hugh Bothwell
Seems pretty straightforward, actually; I would write a script that takes as parameters the name and desired size of a graphic, resizes it, and returns the thumbnail ( look at ImageJPEG() ). Then I would write a script that iterates through the files in the directory and, for each, gets a

Re: [PHP] Multipe Tables, Single Query Problem

2001-06-19 Thread Hugh Bothwell
SELECT video.id, video.title, video.description, actor.name FROM ( video INNER JOIN link ON link.videoID = video.id ) JOIN actor ON actor.id = link.actorID WHERE video.title LIKE $searchstr What you'll get is one query returning a bunch of rows, one for each actor. Then concatenate the actors

RE: [PHP] apache and php ate up all my memory :-[

2001-06-19 Thread scott [gts]
it could be a bunch of different reasons, ranging from software to hardware/OS errors how much total memory is in the machine?? -Original Message- From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]] Subject: [PHP] apache and php ate up all my memory :-[ Hi all Probably

Re: [PHP] Shortest route between 2 cities

2001-06-19 Thread Dave Mariner
This is quite a well-researched AI problem...normally discussed in relation to the travelling salesman problem. (the complexity of the search increasing exponentially (I think) with the number of interconnected nodes), as most strategy games need to address this problem. Probably the most

[PHP] HELP problems running PHP4 script in CRON

2001-06-19 Thread Splashy
Hi, Please find script below and hopefully tell me why when I run it over the web it works perfectly but when I run it using cron or in a telnet session it errors saying no such file or directory. THIS IS THE ERROR /* ./fetch_news.php: ?: No such file or directory ./fetch_news.php: syntax error

[PHP] exec, backticks Co.

2001-06-19 Thread Matthieu Paindavoine
Hello, I have a problem with a php script which contains an exec (same problem with backticks and similar operators). Some programs are simply not executed. For example, having a simple 'hello world' program in c++ will work fine, but having a program that writes 'hello world' to a file won't

Re: [PHP] Templates??

2001-06-19 Thread py
FYI, at the last ThunderLizard web design conference, a presenter speaking about content management tools said that most sites only need 6 or so templates ... that there are usually only 6 categories of pages. Salut, do you know where we could get more info about that conference? What are his 6

RE: [PHP] Multipe Tables, Single Query Problem

2001-06-19 Thread Simon Kimber
Christopher Wrote... You need to be able to tie at least one field from each table to one other field in another table, and then you can have a query like: SELECT videos.*, links.*, actors.* FROM videos, links, actors WHERE videos.VideoID = '$VideoID' AND links.VideoID = videos.VideoID

[PHP] Spread Extension for PHP

2001-06-19 Thread George Schlossnagle
For those interested, I have a beta-quality wrapper extension for the Spread (http://www.spread.org/) group communication toolkit. This is designed to complement existing extensions for perl, javaand ruby. Sources available at

[PHP] connecting to a particular newsgroup (usenet)

2001-06-19 Thread Steph
Hi everyone! I'm trying to create a script to download posts into a mySQL db from a particular newsgroup with certain keywords. I'm reading an article on sockets at phpbuilder.com which has been a useful start. Can any of you recommend any other articles that may assist me with my project. This

Re: [PHP] simulate form submission

2001-06-19 Thread Meir kriheli
On Tuesday 19 June 2001 11:35, Pascal Polleunus wrote: Hi, Does someone know how to simulate a form submission? I guess I need to do something like header(Location: http://www.mysite.com;); header($PostVarsData); where $PostVarsData must contains the header informations to send

Re: [PHP] upload on Win9x

2001-06-19 Thread Christian Dechery
yes... it goes like form enctype=multipart/form-data method=post. this is correct right? At 17:17 19/6/2001 +0930, Andrew Halliday wrote: Have you set the content type of the form to be multipart MIME ? That screws me every time... AndrewH - Original Message - From: Christian

RE: [PHP] image code

2001-06-19 Thread Sitkei Pl
http://dougiamas.com/photoframe -Original Message- From: David L. Walgamotte Jr. [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 9:55 PM To: [EMAIL PROTECTED] Subject: [PHP] image code Can anyone send me sample code or point me in the right direction. I'm looking for a php

[PHP] Store PHP Code in MySQL?

2001-06-19 Thread Joseph Koenig
I've been playing a little bit trying to store some PHP code in MySQL and get it to execute. However, it behaves just like expected in that it just displays the code, and doesn't execute it. Essentially, i want to do this: ? while($data = mysql_fetch_array($result)) {

Re: [PHP] auto index in Apache

2001-06-19 Thread DAve Goodrich
on 6/19/01 9:03 AM, Zhu George-CZZ010 at [EMAIL PROTECTED] wrote: Please excuse me to post this Apache related question here, but I think most of you might be very familiar with Apache web sever and I couldn't find a Apache forum. In Apache, The index of a directory can come from one of

[PHP] Reminder: International PHP Conference 2001, Europe

2001-06-19 Thread Björn Schotte
Dear PHP enthusiasts, I just wanted to remind you about one of the faboulous events this year (besides ApacheCon, O'Reilly OnLamp, German LinuxTag etc.): the International PHP Conference 2001, 11/05-11/07/2001 at Frankfurt/Main, Germany. Our website went online just a few days ago, for English

[PHP] Printing Webpages--bypassing dialog box

2001-06-19 Thread John Monfort
Hello All, It's good to have this list up again. Thank you, to all involved. Question: Printing a webpage (from the browser) and bypassing the print dialog box. I have a portable survey (laptop) that let's the user print the results...via with windows.print(). By default,

Re: [PHP] Store PHP Code in MySQL?

2001-06-19 Thread J Smith
Try looking at the eval() function. It's pretty similar to the eval keyword in perl. http://www.php.net/manual/en/function.eval.php J Smith code, dba and linux guy Tutorbuddy Inc. The Magic Lantern Group mailto:[EMAIL PROTECTED] Joseph Koenig [EMAIL PROTECTED] wrote in message [EMAIL

  1   2   >