[PHP-CVS] cvs: php4 /ext/dbx dbx.c

2001-03-26 Thread Marc Boeren
mboeren Mon Mar 26 00:26:07 2001 EDT Modified files: /php4/ext/dbx dbx.c Log: Removed #include php_config.h, since it was not necessary (Mc) Index: php4/ext/dbx/dbx.c diff -u php4/ext/dbx/dbx.c:1.5 php4/ext/dbx/dbx.c:1.6 --- php4/ext/dbx/dbx.c:1.5

[PHP] Problem with mail function

2001-03-26 Thread Sonya Davey / QDCEL
Hi, Can anyone help me the mail function. I am using PHP 4.04, on Windows 98,with PWS. 1.What must I configure thse settings in my php.ini file to? SMTP= localhost sendmail_from = [EMAIL PROTECTED] 2.Why does this code give me the following

Re: [PHP] PHP Authentication

2001-03-26 Thread Patrick
- Original Message - From: "Jon" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 26, 2001 1:38 AM Subject: [PHP] PHP Authentication Hi, I have read that for using PHP authentication I must be able to user variables such as $PHP_AUTH_USER that are only avaible when PHP

Re: [PHP] get the domain to display on my page

2001-03-26 Thread Renze Munnik
Well, you can use the $HTTP_REFERER, but it's not all to reliable. On Mon, Mar 26, 2001 at 04:13:17PM -0600, Jacky wrote: Hi all Is there anyway I can get the domain name where the viwer came from and write it out on my page? Jack [EMAIL PROTECTED] "There is nothing more rewarding than

Re: [PHP] about:home

2001-03-26 Thread Renze Munnik
The JavaScript solution to this: window.home(); Don't know how to do this in PHP. Don't this that's possible... RenzE -- 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

Re: [PHP] Problem with mail function

2001-03-26 Thread Carsten Gehling
From: "Sonya Davey / QDCEL" [EMAIL PROTECTED] Sent: Monday, March 26, 2001 10:55 AM 1.What must I configure thse settings in my php.ini file to? SMTP = localhost sendmail_from = [EMAIL PROTECTED] SMTP must be set to the address of a SMTP-server (Simple Mail Transfer Protocol) - that is a

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

2001-03-26 Thread Rasmus Lerdorf
rasmus Mon Mar 26 01:36:14 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Karma for Martin Index: CVSROOT/avail diff -u CVSROOT/avail:1.127 CVSROOT/avail:1.128 --- CVSROOT/avail:1.127 Sun Mar 25 03:35:21 2001 +++ CVSROOT/avail Mon

Re: [PHP] array in cookie . . .

2001-03-26 Thread Christian Reiniger
On Monday 26 March 2001 05:15, you wrote: Im trying to get an array saved in a cookie, I have this snippet so far.. ? if (newuser == yes) { $user_reg[0]= $username; $user_reg[1]= $password; $user_reg[2]= $fullname; $user_reg[3]= $email; $user_reg[4]= $age; setcookie

RE: [PHP] Problem with mail function

2001-03-26 Thread Ankur Verma
The mail function uses the specified SMTP mail server to send out the mail. you will need to set the php.ini variables as follows SMTP= localhost ; The name or IP address of the machine which is running the SMTP Server. for ex

[PHP-CVS] cvs: php4 /ext/ldap config.m4

2001-03-26 Thread Jani Taskinen
sniper Mon Mar 26 02:30:48 2001 EDT Modified files: /php4/ext/ldap config.m4 Log: Support Solaris 8 ldap. Index: php4/ext/ldap/config.m4 diff -u php4/ext/ldap/config.m4:1.14 php4/ext/ldap/config.m4:1.15 --- php4/ext/ldap/config.m4:1.14Sun Mar 11

[PHP] Prob with sending a php variable in an email

2001-03-26 Thread Sonya Davey / QDCEL
I have a problem sending a php variable ie $Username in a simple email form, example as follows: body ? Username="Sysdba"; ? a href="Mailto:[EMAIL PROTECTED]? subject= Web site body=User name: ? $Username; ? Main Agent Code:" Support Desk/a /body Thanks in advance! Sonya -- PHP General

RE: [PHP] Prob with sendin'php-general@lists.php.net'g a php variable in an email

2001-03-26 Thread Rudolf Visagie
Hi Sonya, Looks like you need a $ before the variable name in the first instance: ? $Username = "Sysdba"; ? Rudolf Visagie [EMAIL PROTECTED] -Original Message- From: Sonya Davey / QDCEL [mailto:[EMAIL PROTECTED]] Sent: 26 March 2001 12:39 To: '[EMAIL PROTECTED]' Subject: [PHP] Prob

RE: [PHP] Prob with sending a php variable in an email

2001-03-26 Thread Rudolf Visagie
Hi Sonya, Looks like you need a $ before the variable name in the first instance: ? $Username = "Sysdba"; ? Rudolf Visagie [EMAIL PROTECTED] -Original Message- From: Sonya Davey / QDCEL [mailto:[EMAIL PROTECTED]] Sent: 26 March 2001 12:39 To: '[EMAIL PROTECTED]' Subject: [PHP] Prob

RE: [PHP] Prob with sending a php variable in an email

2001-03-26 Thread Ankur Verma
try with body ? $Username="Sysdba"; ? a href="Mailto:[EMAIL PROTECTED]? subject= Web site body=User name: ? $Username; ? Main Agent Code:" Support Desk/a /body hope that helps regards Ankur Verma -Original Message- From: Sonya Davey / QDCEL [mailto:[EMAIL PROTECTED]] Sent: Monday,

RE: [PHP] Prob with sending a php variable in an email

2001-03-26 Thread Ankur Verma
sorry for the last mail! try with body ? $Username="Sysdba"; ? a href="Mailto:[EMAIL PROTECTED]? subject= Web site body=User name: ? echo $Username; ? Main Agent Code:" Support Desk/a /body hope that helps Ankur Verma HCL Technologies Noida -Original Message- From: Sonya Davey /

[PHP] Problem with curl

2001-03-26 Thread Hans-Peter Straub
Hello all, i have some problems with curl-7.7 in php-4.0.4. When i post to a https- Server through curl the returned data is corrupted. I post to a transaction-server. The servers response is encrypted data. I actually post all variables through the URL. When i try to post the vars through

[PHP] .doc to .txt

2001-03-26 Thread Siim Einfeldt aka Itpunk
Hi all, I need to convert .doc files into text. I know it`s possible to do it by converting it in word, but I need to give the people of the site opportunity to upload a .doc file and then I need to display it (and not in another window, but rather 'in the site' like you would normally display

[PHP] php3, files and Apache

2001-03-26 Thread xxx
Hello Guys, Anybody can help to write script in php3 that will send to browser chosen file from server's directory to which Apache does not have access. It is important that klient's browser, depending on file type, could save it to disk or display (eg. text or graphics). Will be gratefull

RE: [PHP] .doc to .txt

2001-03-26 Thread Ankur Verma
check out the microsoft word parser at www.wvware.com you can call this program ysing the exec() or system() function. also, search the mail archives for discussion on this topic in the very recent past. hope that helps regards Ankur verma HCL Technologies Noida India -Original

[PHP] php sessions and classes

2001-03-26 Thread Steve Brett
hi, i'm busily rewriting an exisitng calendar system that is in use at work. we're using UML as a design tool and hope to have an OO version of the system we have at the minute that wil 'fit in' with future devs. our system at the moment makes heavy use of postgresql and i am hoping to

[PHP] ignore_user_abort

2001-03-26 Thread Plamen Slavov
Hi all, i have PHP 3.0.12 running on Linux/Apache 1.3.9 platform My problem is ignore_user_abort function. As described in documentatuion if i put in the beginning of my script set_time_limit(0); //no time limit ignore_user_abort(0); the script should terminate when user hits Stop button or

Re: [PHP] php 4.04pl 1-3 for red hat 7

2001-03-26 Thread Larry Hotchkiss
I treid running configure with all the current config options. First time through it puked at apxs so, after a little research, installed the apache devel rpm to get apxs. Configure was chugging right along but failed. It got pased system checks, started "configuring extensions" and then

[PHP] test

2001-03-26 Thread TV Karthick Kumar
Is the list alive ? ~ K -- 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 PROTECTED]

[PHP] Fw: test

2001-03-26 Thread TV Karthick Kumar
- Original Message - From: "TV Karthick Kumar" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 26, 2001 3:16 PM Subject: test Is the list alive ? ~ K -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] reading a URL...

2001-03-26 Thread Renze Munnik
Just use $id in your code. That should do the job. Variables that are passed using GET or POST you can just use in your code. Ofcourse you have to add the $-sign. So if you use the URI: http://www.arandomsite.com/news_story.php?id=123 You can just use: "SELECT xxx FROM yyy WHERE id=$id"

[PHP] Help, I can't understand the 'arg_separator' directive

2001-03-26 Thread loic-info
Hi! My system : win 98SE, Apache 1.3.19 the latest php4.0.5-RC1 binaries from www.php4win.de My problem is that I can't understand how the 'arg_separtor' directive works. Here is my test script : ?php // grabs the sent variables names and values while(list($name, $value) =

[PHP] Header Problem...

2001-03-26 Thread E K L
Hi all, could any one tell me that how do I go to a specific URL using php command.At the same time, I would like to pass the variable to the page. I used header to do it but failed, with the error message:- Warning: Cannot add header information - headers already sent by (output started at

[PHP] stil problems with fopen and URL

2001-03-26 Thread marco trevisani
Sorry for re posting this problem, but after spending a bunch of hours still there is something "misterious" to me: can you find anything broken in this code? (Again it works fine with 3.3.0.15 and 3.3.0.16 but is broken with 3.3.0.18, on Debian, apache). $noaa =

RE: [PHP] .doc to .txt

2001-03-26 Thread Max Pyziur
On Mon, 26 Mar 2001, Ankur Verma wrote: check out the microsoft word parser at www.wvware.com you can call this program ysing the exec() or system() function. also, search the mail archives for discussion on this topic in the very recent past. There is one utility which I find very

Re: [PHP] Header Problem...

2001-03-26 Thread Renze Munnik
There may not be any headers before you use the 'header' statement. The header("Location:...") should be the first output you send. You might want to consider moving the two 'anti-cache' headers after the header("Location;...") statement. RenzE. On Mon, Mar 26, 2001 at 11:06:11PM +0800, E K L

[PHP] New PHP Coder - needs advice

2001-03-26 Thread Rob McMahan, Jr.
All, I am new coder of PHP and I love it. I have completed all the tutorials for PHP 101 on Devshed.com . I have PHP and MYSql up and running. I have a problem that I'm sure is is a very simple problem to solve for many of you. I am looking at the best way to write this simple PHP script and

[PHP] Get info to a perl script and then continue without going to that perl script.

2001-03-26 Thread Brandon Orther
Hello, I have a script that takes information and sends it to a cgi script using the header("location: http://www.domain.com/script.cgi?var1=VAR1var2=VAR2"). Is there a way for my script to send info to a cgi script but then keep the person connected to the php script and not get the results of

[PHP] Getting Javascript variable into PHP

2001-03-26 Thread Michael Champagne
Has anyone had to get a javascript variable into your PHP script? I'm trying to have a javascript popup box come up whenever a user clicks to revoke a user's privilege. How do I know what was clicked on the javascript box in order to know whether to revoke the user's privilege or not? If

RE: [PHP] I don't understand HTTP_SESSION_VARS

2001-03-26 Thread Michael Champagne
Hi Kirk, I'm not sure that's how it is supposed to work. I really think that this is a PHP bug. I had to turn register globals back on in order to get my code working again. I thought you're supposed to be able to simply declare a variable, do a session_register on it, and then access it on

[PHP] oci8 and primary key its speed

2001-03-26 Thread almir
first of all thank all of you who helpd me up to now, to make this work now when i make SELECT c.column_name, c.position FROM user_cons_columns, c, user_constraints t WHERE t.table_name='YOURTABLENAME' AND t.constraint_type='P' AND t.constraint_name=c.constraint_name AND

Re: [PHP] Get info to a perl script and then continue without going to that perl script.

2001-03-26 Thread Chris Lee
you want to just execute the perl script? use http://php.net/manual/en/function.exec.php $return = exec("/pathtocgi/script.cgi VAR1 VAR2 "); if you want the data returned, its in $return. -- Chris Lee [EMAIL PROTECTED] ""Brandon Orther"" [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] New PHP Coder - needs advice

2001-03-26 Thread Chris Lee
Im not quite sure what kind of advise your looking for... you want to know how todo this? use a form, save the contents in the db. echo the contents to the screen to view them. table category fieldcategory_id fieldcategory_date fieldcategory_name I like to store dates as a unix

Re: [PHP] php sessions and classes

2001-03-26 Thread Chris Lee
yes this will work, are you passing the class as a session ? remember to declare the class BEFORE you call session_start() ie. ?php class test { //-note- ... } session_start(); ? do not have session_start before the class declaration. how do you like postgres? what

Re: [PHP] imap_open() dosen't work :(

2001-03-26 Thread Chris Lee
have you edited your php.ini file ? you have to uncomment the imap dll. extension=php_imap4r2.dll if you dont have this dll, you'll have to find it, cant help you there. -- Chris Lee [EMAIL PROTECTED] ""Nilesh Parmar"" [EMAIL PROTECTED] wrote in message 001b01c0b54e$fa191c00$[EMAIL

Re: [PHP] Cookie problem

2001-03-26 Thread Chris Lee
I have to agree Nuno, sessions are alot easier/simpler. -- Chris Lee [EMAIL PROTECTED] "Nuno Silva" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, short: try removing the third parameter to setcookie and if the errors go away you know it's a

[PHP] Another problem installing PHP under Solaris 8.0

2001-03-26 Thread Emiliano Marmonti
Dear Friends: I have had another problem, after succesfully find flex package installed in this machine and make a link to a folder that is included in PATH. After ./configure, after the message that PHP was configured OK, following the instructions I write: make. This is the error

[PHP-CVS] cvs: php4 / FUNCTION_LIST.txt

2001-03-26 Thread Sterling Hughes
sterlingMon Mar 26 10:29:13 2001 EDT Removed files: /php4 FUNCTION_LIST.txt Log: Remove FUNCTION_LIST.txt, the file is sadly out of date and not really used... -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] offline reader for php generated websites

2001-03-26 Thread Andre
Hello List, knows anybody an offline reader which can download not only static websites but also dynamic websites especially dynamic generated links? Like websites which are only generated over one file over variables like "dynamic.php?siteID=3001" Thanks Andre! -- PHP General Mailing

Re: [PHP] Another problem installing PHP under Solaris 8.0

2001-03-26 Thread Joe Rice
you need ar. my solaris 8 install has it in /usr/ccs/bin if you have it there, make sure /usr/ccs/bin is in your PATH. if you need to know what package ar is part of let me know. joe Emiliano Marmonti([EMAIL PROTECTED])@Mon, Mar 26, 2001 at 03:12:00PM -0300: Dear Friends: I have had

php-general Digest 26 Mar 2001 18:58:56 -0000 Issue 590

2001-03-26 Thread php-general-digest-help
php-general Digest 26 Mar 2001 18:58:56 - Issue 590 Topics (messages 45583 through 45631): Re: oracle last inserted 45583 by: Thies C. Arntzen Re: Email validation 45584 by: Manuel Lemos PHP Authentication 45585 by: Jon 45586 by: Jack Dempsey 45589

[PHP] POP client available + mcrypt question

2001-03-26 Thread mark
Hi folks, Version 1.0 of my POP mail client "PHPost" is now available for download (it's freeware) at http://webgadgets.com/ There's one problem that's bugging me though. The script checks for the mcrypt module and uses it to encrypt/decrypt the contents of the session data file. If it's not

[PHP] GD problem

2001-03-26 Thread Brandon Orther
Hello, Using GD i get this error. I know what it means I just wanted to know if anyone knew how I resolve it. Error: ImageCreateFromJpeg: No JPEG support in this PHP build in jpg.php on line 5 Do I need to get new GD files and change php.ini or chan I just change the library? Thank you,

[PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Andrei Zmievski
andrei Mon Mar 26 10:59:02 2001 EDT Modified files: /php4 NEWS Log: Zend related news update. Index: php4/NEWS diff -u php4/NEWS:1.621 php4/NEWS:1.622 --- php4/NEWS:1.621 Fri Mar 23 06:26:17 2001 +++ php4/NEWS Mon Mar 26 10:59:01 2001 @@ -2,6

[PHP] equivalent to PERL's qq

2001-03-26 Thread Michael Hall
Hi. I'm a converted Perl guy. While I generally like PHP better than Perl, I do severely miss the Perl operator qq, which allowed statements (in my case, lengthy SQL statements) to be written on multiple lines. $this = qq|Select * From xsdfs Group by date

RE: [PHP] equivalent to PERL's qq

2001-03-26 Thread Cal Evans
$this = "Select * From xsdfs Group by date Order by id"; Should work. Cal http://www.calevans.com -Original Message- From: Michael Hall [mailto:[EMAIL PROTECTED]] Sent: Monday, March 26, 2001 1:36 PM To: [EMAIL PROTECTED] Subject: [PHP] equivalent

Re: [PHP] Get info to a perl script and then continue without going to that perl script.

2001-03-26 Thread Matt Friedman
http://php.net/manual/en/function.exec.php $return = exec("/pathtocgi/script.cgi VAR1 VAR2 "); if you want the data returned, its in $return. If there are multiple lines returned, you'll only get the last line in $return. See the manual link to get the full info. Matt Friedman -

RE: [PHP] just a newbie in php, don't get mad

2001-03-26 Thread Jeff Oien
ok as you got it already i am a newbie in php could anyone please please post me what programs do I need or which could help me to make some php stuff sry for this may sound stupid to you all but all the manuals in the web just were just talkin' 'bout totally technical stuff ok thnx :p

[PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Sebastian Bergmann
sbergmann Mon Mar 26 11:03:36 2001 EDT Modified files: /php4 NEWS Log: Nitpicking. Index: php4/NEWS diff -u php4/NEWS:1.622 php4/NEWS:1.623 --- php4/NEWS:1.622 Mon Mar 26 10:59:01 2001 +++ php4/NEWS Mon Mar 26 11:03:36 2001 @@ -3,7 +3,7 @@

Re: [PHP] just a newbie in php, don't get mad

2001-03-26 Thread Wade DeWerff
buy Meloni's "PHP Essentials" or the "Teach yourself PHP in 24 hours" to start. They are made for total beginners. Then move on to "Professional PHP programming" or "PHP4 Bible". That will give you a better start. ok as you got it already i am a newbie in php could anyone please please post

Re: [PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Colin Viebrock
+- Modified get_parent_class() to accept a class name as well as a class + instance. (Andrei, Zend engine) Can I make a request for get_class_methods() and get_class_vars() to accept class instances as well as a string? - Colin -- PHP CVS Mailing List (http://www.php.net/) To

[PHP] Serializing/unserializing objects

2001-03-26 Thread Kevin Beckford
What I want to do is to use an object to create a site.I plan on initiaizing the object on my page index.php, and just recycling index.php with different variables, so that I get different pages. Ideally, I want the object to read a site config file, so that I can modify the site config file

RE: [PHP] Serializing/unserializing objects

2001-03-26 Thread Chris Cocuzzo
wow. I really don't think you can pull this off in a day. In any case, I'd recommend checking out www.phpbuilder.com and looking through the articles -Original Message- From: Kevin Beckford [mailto:[EMAIL PROTECTED]] Sent: Monday, March 26, 2001 3:18 PM To: [EMAIL PROTECTED] Subject:

[PHP] General question :)

2001-03-26 Thread FredrikAT
Hi! What do you think is best..: - have alot of small .php (files)? - or a few big? What's good bad with these solutions?! - Fredrik A. Takle Bergen, Norway [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Serializing/unserializing objects

2001-03-26 Thread Michael Kimsal
You'll be reinitializing the object on every page request - objects aren't perisistant across requests. You can make the data in that object persistent - basically recreate the object every page with the old data (PHP4 sessions would be one way to go here) but you won't be able to make the

Re: [PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Andrei Zmievski
On Mon, 26 Mar 2001, Colin Viebrock wrote: Can I make a request for get_class_methods() and get_class_vars() to accept class instances as well as a string? For get_class_methods(), yes, for the other requrest, see get_object_vars(). -Andrei * Anything will fit if you push hard enough * --

[PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Andrei Zmievski
andrei Mon Mar 26 12:10:19 2001 EDT Modified files: /php4 NEWS Log: More news. Index: php4/NEWS diff -u php4/NEWS:1.623 php4/NEWS:1.624 --- php4/NEWS:1.623 Mon Mar 26 11:03:36 2001 +++ php4/NEWS Mon Mar 26 12:10:19 2001 @@ -2,8 +2,8 @@

Re: [PHP] General question :)

2001-03-26 Thread Godd
Execution time!! Big files if not well developed = large exec time meaning server timeouts. small files = less timeouts and better debugging and modularity which ALWAYS better. Modularity allows you to plug in and pull out pages with out rendering you whole site unusable. Of course you can

RE: [PHP] drop down used to redirect?

2001-03-26 Thread duirfire
hmmm... thanks, but I want to use a directory. I've tried "option value="dir1/dir2/page.html"Page/option but the "/" url that get's passed is: nav.php?loc=dir1%2Fdir2%2Fpage.html can I escape the quotes somehow? thanks! duirfire -Original Message- From: Data Driven Design

Re: [PHP] just a newbie in php, don't get mad

2001-03-26 Thread Johannes Janson
Hi, get an editor which suits your needs and demands, a server and (if needed somr database app) and just do it by trial and error. tutorials on php: www.phpbuilder.com www.webmonkey.com www.devshed.com feed any search engine with "php tutorials" and find more. good luck Johannes p.s. what's

Re: [PHP] just a newbie in php, don't get mad

2001-03-26 Thread Philip Olson
Check out the tutorials found at : http://www.devshed.com/(very basic php tutorials exist here) http://www.zend.com/ (quality tutorials and articles) http://www.phpbuilder.com/ (intermediate) http://php.faqts.com/ (useful words) http://www.php.net/manual/

Re: [PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Andrei Zmievski
Done. Can I make a request for get_class_methods() and get_class_vars() to accept class instances as well as a string? - Colin -Andrei "The time from now until the completion of the project tends to become constant." -- Douglas Hartree -- PHP CVS Mailing List (http://www.php.net/)

[PHP] Create new accounts with PHP

2001-03-26 Thread O.J. Alcaraz
I'm beginning to implement an application for a webhost that will administer accounts (create users, mailboxes, FTP, etc.) and will be using PHP to do this. Are there any problems with using PHP to do this? I have done some research but haven't come across anything related to PHP. Just looking

Re: [PHP] GD problem

2001-03-26 Thread Sterling
H- You might want to make sure your version of GD supports JPG format. If I'm not mistaken newer versions of GD don't support GIF anymore and the earlier versions of GD didn't support JPG but PNG format has always been supported. Maybe it's related to GD and not PHP at all. Just a thought.

[PHP] Question from Rookie

2001-03-26 Thread Rob McMahan, Jr.
Hi All, Quick rookie question for you.. I have a PHP page where I'm manipulated data and re-organized the data in table. Now I want to write out the page containing the table data with the HTML file extension. How would I go about writing out an HTML file from within a PHP Page. Thank

[PHP] sessions and javascript.

2001-03-26 Thread Larry Hotchkiss
Running linux RH 7, apache and php 4.04 as a module. I have a web pagewith an image that is chopped up and regrouped into a table. There are a few spots on the image that link (a href="") to other pages and I use some javascript for rollovers. Now, within the table, I have two input

Re: [PHP] Problems passing data via GET and POST

2001-03-26 Thread Jason Stechschulte
On Sat, Mar 24, 2001 at 05:05:59PM -0500, Matt Adams wrote: I recently wrote a (yet another) mailing portal which takes a certain action based on the contents of a hidden form field (i.e. if state==deliver then deliver mail to the recipient). Although I am certain the code could be better

Re: [PHP] General question :)

2001-03-26 Thread Henrik Hansen
"FredrikAT" [EMAIL PROTECTED] wrote: Hi! What do you think is best..: - have alot of small .php (files)? - or a few big? What's good bad with these solutions?! Depends, usualy i dont have scripts over 1000 lines. I like to have a few larger files in my directory seperating

Re: [PHP] General question :)

2001-03-26 Thread Henrik Hansen
"Godd" [EMAIL PROTECTED] wrote: Execution time!! Big files if not well developed = large exec time meaning server timeouts. you have any numbers for this? I think small files with slam code takes as much memory? small files = less timeouts and better debugging and modularity which

[PHP] Session handling and SSL

2001-03-26 Thread Sam Leibowitz
Apologies if this has been addressed earlier. I'm using session.auto_start under an apache-ssl driven site, and it seems that the sesion ID cookies aren't being sent with the "secure" flag set. As a result, the browser is effectively ignoring the cookie. Is this an obvious configuration problem

Re: [PHP] offline reader for php generated websites

2001-03-26 Thread Christian Reiniger
On Monday 26 March 2001 20:31, you wrote: Hello List, knows anybody an offline reader which can download not only static websites but also dynamic websites especially dynamic generated links? Like websites which are only generated over one file over variables like "dynamic.php?siteID=3001"

[PHP-CVS] cvs: php4 / configure.in

2001-03-26 Thread Jani Taskinen
sniper Mon Mar 26 13:34:59 2001 EDT Modified files: /php4 configure.in Log: Fixed the problem with libbind (again). Index: php4/configure.in diff -u php4/configure.in:1.224 php4/configure.in:1.225 --- php4/configure.in:1.224 Thu Mar 22 20:56:51 2001

[PHP] Unusual issue - saving state in an error class

2001-03-26 Thread Geoff Caplan
Hi folks An unusual problem (I think) with how to save state in an error class. THE AIM is to consolodate PHP errors, user errors and failed asserts into one common format, which can then be written to screen, logged, emailed or written to a socket in any combination required. THE MECHANISM is

[PHP-CVS] cvs: php4 /ext/domxml php_domxml.c

2001-03-26 Thread Jani Taskinen
sniper Mon Mar 26 13:42:02 2001 EDT Modified files: /php4/ext/domxmlphp_domxml.c Log: Fixed a typo. Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.33 php4/ext/domxml/php_domxml.c:1.34 --- php4/ext/domxml/php_domxml.c:1.33 Wed

[PHP] reading a URL...

2001-03-26 Thread Tristan . Pretty
'ello, Is it Possible, in PHP to read a URL? What I am trying to do is this... I have many news stories in a database, and a single static news page, that calls the story, and the corresponding headline. I have looked about on-line, and seen a common URL,...

Re: [PHP] What could I be doing wrong here

2001-03-26 Thread Pierre-Yves Lemaire
And like this? echo $myrow["id"] ."br"; //Usually $myrow[0] etc py At 10:53 AM 3/27/01 +1200, you wrote: I can't figure out why this doesn't work. Rather than echo $myrow[0] which works, I want to use the feild name. Like $myrow[make] to make reading the code easier. IS this possible?

Re: [PHP] What could I be doing wrong here

2001-03-26 Thread CC Zona
In article 99oh2o$f95$[EMAIL PROTECTED], [EMAIL PROTECTED] ("YoBro") wrote: I can't figure out why this doesn't work. Rather than echo $myrow[0] which works, I want to use the feild name. Like $myrow[make] to make reading the code easier. IS this possible? Here is some code: $db =

Re: [PHP] Is this possible? PHP + Javascript

2001-03-26 Thread Reuben D Budiardja
At 05:11 PM 3/26/01 -0600, Michael Champagne wrote: I have a huge database-driven list of clients with a checkbox next to each one. When I check one of these clients, I'm wanting one of those small javascript boxes to pop up and display the contacts for this client (another database lookup) and

RE: [PHP] Is this possible? PHP + Javascript

2001-03-26 Thread Joe Sheble \(Wizaerd\)
in the onCLick event of the checkbox call a javascript function. In that function use a window.open() method to open aother browser window, using the open() methods various properties to control how that browser window looks and feels. For the URL for that browser window, make it a PHP script

Re: [PHP] What could I be doing wrong here

2001-03-26 Thread YoBro
Thanks everybody for all your help. It goes now. ""YoBro"" [EMAIL PROTECTED] wrote in message news:99oh2o$f95$[EMAIL PROTECTED]... : I can't figure out why this doesn't work. Rather than echo $myrow[0] which : works, I want to use the feild name. Like $myrow[make] to make reading the : code

[PHP] PDF Output Printing

2001-03-26 Thread dennis moore
I have a basic question regarding the printing quality using the PDF functions and lib. I need to place a high resolution image TIF or JPEG into a PDF file along with normal text from a database. The desired output will be printed at 600dpi. Are there issues associated in doing this with

Re: [PHP] 'How to jump..' part 2

2001-03-26 Thread Christian Dechery
I don't think PHP will understand commas as command separators. Perhaps what you could try is a simple loop 0 to 6 and for each iteration of the loop, unset the corresponding array element for($i=0; $i = 6; $i++) { unset($array[$i]; } I got it working, and YES... PHP did understand the

Re: [PHP] 'How to jump..' part 2

2001-03-26 Thread Christian Dechery
I don't think PHP will understand commas as command separators. Perhaps what you could try is a simple loop 0 to 6 and for each iteration of the loop, unset the corresponding array element for($i=0; $i = 6; $i++) { unset($array[$i]; } this actually worked... thanks for the hint: pre

[PHP-CVS] cvs: php4 /pear DB.php /pear/DB pgsql.php

2001-03-26 Thread Thomas V.V.Cox
cox Mon Mar 26 15:31:50 2001 EDT Modified files: /php4/pear DB.php /php4/pear/DB pgsql.php Log: pgsql.php * connect() always use pg_connect string instead of the deprecated params mode * removed duplicated functions prepare() and execute()

[PHP] memory allocation in $var...

2001-03-26 Thread Christian Dechery
By doing this: ?php $someArray=array("this","that","those"); for(something to loop) do something with $someArray here; ? is PHP using the same amount of memory as this: ?php $someArray=array("this","that","those"); somefunction($someArray);

Re: [PHP] GD problem

2001-03-26 Thread David Robley
On Tue, 27 Mar 2001 05:09, Brandon Orther wrote: Hello, Using GD i get this error. I know what it means I just wanted to know if anyone knew how I resolve it. Error: ImageCreateFromJpeg: No JPEG support in this PHP build in jpg.php on line 5 Do I need to get new GD files and change

[PHP] getting number of days in agiven month

2001-03-26 Thread Juan Luis Baptiste
Hi, Is there a way to find out the mumber of days of a given month? for example a function that I pass the month number i.e. 02 (February) and it returns 28? thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: [PHP] getting number of days in agiven month

2001-03-26 Thread Jason Murray
Is there a way to find out the mumber of days of a given month? for example a function that I pass the month number i.e. 02 (February) and it returns 28? Date("t", $unixtimestamp); If you have a month "2", you need a year as well since February's days vary according to the year, so:

Re: [PHP] getting number of days in agiven month

2001-03-26 Thread David Robley
On Tue, 27 Mar 2001 10:22, Juan Luis Baptiste wrote: Hi, Is there a way to find out the mumber of days of a given month? for example a function that I pass the month number i.e. 02 (February) and it returns 28? thanks. See date() and the t format character. -- David Robley

Re: [PHP] Question from Rookie

2001-03-26 Thread David Robley
On Tue, 27 Mar 2001 07:01, Rob McMahan, Jr. wrote: Hi All, Quick rookie question for you.. I have a PHP page where I'm manipulated data and re-organized the data in table. Now I want to write out the page containing the table data with the HTML file extension. How would I go about

[PHP-CVS] cvs: php4 /pear/DB common.php ifx.php pgsql.php

2001-03-26 Thread Thomas V.V.Cox
cox Mon Mar 26 16:57:25 2001 EDT Modified files: /php4/pear/DB common.php ifx.php pgsql.php Log: ifx.php * Changed default fetchmode to ORDERED * Remove extra checks in connect and added $dns property * fetchRow() now uses fetchInto()

Re: [PHP] The ubitquitous forum project

2001-03-26 Thread Stephan Ahonen
[Explanation of UBB-style] ...And that's USENET-style. In OE I can expand and contract threads at will, like you mentioned, and I can tell which posts are in reply to which other posts. Sig for a Day Stephan Ahonen, ICQ 491101 "That's very funny Scotty, now beam down my clothes!" Come back

Re: [PHP] memory allocation in $var...

2001-03-26 Thread Yasuo Ohgaki
I got the same results from my benchmarks, also. Unless you want to change variable in function and get modified value, do not use reference. Without reference, PHP4 executes script faster. Due to reference counting in PHP4, probably. Regards, -- Yasuo Ohgaki "Christian Dechery" [EMAIL

Re: [PHP] The ubitquitous forum project

2001-03-26 Thread Pierre-Yves Lemaire
The style of forum you choose for your site depends on your users. Novice user have a difficult time with usenet or bbs style forum. They will not use it unless you make it very easy. That is why you see bilboard style forum on large public site or portals. They have done user testing. py At

Re: [PHP] sql problem

2001-03-26 Thread Brett Bandy
InterBase isn't real good with subselects. Try using a join instead: select e.empname from employer e join badclient b on e.empno = b.employercode where b.pesal = '$Persal'; Brett ""Wade Halsey"" [EMAIL PROTECTED] wrote in message

[PHP] Strings in URL

2001-03-26 Thread Claudia
I am attempting to pass a string value via a URL. I have tried using urlencode and ereg_replace--with no luck. Here is sample code: $headline=urlencode("$headline"); print "a href ='http://www.contus.com/test_quote/quotepage.php3?site=$sitepage=miniquote; subject=$headline'bContact us for more

  1   2   >