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

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

RE: [PHP] Search Engines and PHP

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

[PHP] very basic help on query and db issue

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

[PHP] RE: DBase functions

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

Re: [PHP] RE: url hide

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

[PHP] Non-existant folders??

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

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

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

[PHP] help!!! (PHP)

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

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

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

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

2001-01-23 Thread Adrian Murphy
hey, since u are slecting multiple options you'll have to use an array here's how.i u need explanation,feel free to mail me: ? if ($select==""){ print" form method=\"post\" name=\"select\" action=\"test.php3\" SELECT MULTIPLE NAME=\"select[]\" Option VALUE=\"Chocolate\"Chocolate/Chocolate Chip

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

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

[PHP] Getting warning using split

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

[PHP] Sorry! Help needed!

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

Re: [PHP] Search Engines and PHP

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

RE: [PHP] check null value

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

RE: [PHP] Non-existant folders??

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

RE: [PHP] RE: url hide

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

[PHP] passing arrays via forms ..

2001-01-23 Thread hsmith
howdy again :) does anybody knwo how to pass an array via forms using something like input type=\"hidden\" name=\"client_services\" value=\"$client_services\" where $client_services is an array ? Hetni -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

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

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

RE: [PHP] passing arrays via forms ..

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

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

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

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

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

[PHP] Turning off scrollbar

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

AW: [PHP] Non-existant folders??

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

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

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

[PHP] Possible Sybase Bug

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

[PHP] ID value

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

RE: [PHP] ID value

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

[PHP] Maximum execution time

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

Re: [PHP] SSH file transfers

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

[PHP] installing and using PEAR

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

Re: [PHP] DocBook Editors?

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

Re: [PHP] Sorry! Help needed!

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

Re: [PHP] Newbie frustration!

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

Re: [PHP] Re: XML Processing Instruction ( was ? PHP vs. ? )

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

[PHP] Failed to write session data (files)

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

Re: [PHP] IMAP - attachment-information

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

Re: [PHP] Maximum execution time

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

Re: [PHP] Maximum execution time

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

[PHP] png files loosing color depth

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

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

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

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

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

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

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

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

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

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

2001-01-23 Thread Robert Collins
Try this: ? function authUser($username,$password,$realm,$message) { if (isset($GLOBALS["PHP_AUTH_USER"]) (($GLOBALS["PHP_AUTH_USER"] != $username) || ($GLOBALS["PHP_AUTH_PW"] != $password))) { header("WWW-Authenticate: Basic realm=\"$realm\""); header("HTTP/1.0

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

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

Re: [PHP] apache doubt!!!!

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

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

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

[PHP] PHP_SELF - silly question

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

[PHP] Authenticating across sites/servers

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

[PHP] Parse error

2001-01-23 Thread Liam Gibbs

Re: [PHP] Authenticating across sites/servers

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

Re: [PHP] Parse error

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

RE: [PHP] Parse error

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

RE: [PHP] Authenticating across sites/servers

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

RE: [PHP] Authenticating across sites/servers

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

[PHP] Re: timeout of management session

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

[PHP] Waring message for FTP

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

Re: [PHP] Newbie frustration!

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

Re: [PHP] Authenticating across sites/servers

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

Re: [PHP] Authenticating across sites/servers

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

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

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

Re: [PHP] Authenticating across sites/servers

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

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

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

RE: [PHP] PHP_SELF - silly question

2001-01-23 Thread Krznaric Michael
You may have to declare PHP_SELF as global. Take a look at http://www.php.net/manual/en/language.variables.scope.php Mike -Original Message- From: Larry Hotchkiss [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 12:21 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP_SELF - silly

[PHP] Re: [PHP-DEV] vchkpw qmail

2001-01-23 Thread Teodor Cimpoesu
Hi php4! On Tue, 23 Jan 2001, [EMAIL PROTECTED] wrote: Is anyone doing anything with PHP and vchkpw? There isn't much about it in the archives, but I'd hate to wast a bunch of time and find out there is already something in progress. I just built a mail server using these packages, and

RE: [PHP] Search Engines and PHP

2001-01-23 Thread Kristofer Widholm
At 13.33 +0100 01-01-23, Sander Pilon poked the keyboard as follows: If you want to be totally searchengine-safe, do not use variables on the url, do not rely on cookies and do not rely on POST variables for the pages you want to have the searchengine spider. How the heck do you

[PHP] AW: WAP and PHP

2001-01-23 Thread Florian Clever
It worked for my test scripts. Check out the attached file. You will have to skip over some of the DB abstraction class stuff. good Luck, Florian Florian Clever [EMAIL PROTECTED] http://www.Clever-Software-Solutions.de/ PGP Key @ ldap://certserver.pgp.net/ -Ursprngliche Nachricht-

Re: [PHP-CVS] cvs: php4 / NEWS /ext/mysql/libmysql acinclude.m4 bmove.ccharset.c config-win.h dbug.h default.c errors.c fix_copyright global.hlibmysql.c m_string.h mf_dirname.c mf_format.c mf_pack.c mf_path.cmy_alloc.c my_create.c my_fopen.c my_i

2001-01-23 Thread Sebastian Bergmann
MySQL Team wrote: Log: Upgrade ext/mysql/libmysql to version 3.23.32. One notable bug fix is that the client can now connect to a server which is using a default charset other than latin1. Great! All those compiler warnings in libmysql are gone on Win32 :-) -- sebastian

RE: [PHP] What PHP Stands For....

2001-01-23 Thread Boaz Yahav
Now you also have a place to send people in the future when they ask this question :) http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1785 Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message-

RE: [PHP] Newsletter Software needed urgently...

2001-01-23 Thread Boaz Yahav
Try this, It's pretty amazing and does all that you want. http://www.SellShareware.com/ProgramInfo.asp?AfID=2407PrID=34362 -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 7:59 AM To: 'PHP General List. (E-mail)' Subject: [PHP] Newsletter

Re: [PHP] PHP_SELF - silly question

2001-01-23 Thread Larry Hotchkiss
Yep, thats it, I knew it was a stupid question. I already had a few globals assigned in the function, dont know why I didnt think to ad PHP_SELF as well. Thanks. Krznaric Michael wrote: You may have to declare PHP_SELF as global. Take a look at

[PHP] Export to Spreadsheet Format

2001-01-23 Thread Benjamin Munoz
I want to run a query on a database and export the recordset to a spreadsheet, preferably Excel native. The box is on a Win32 OS, so I can instantiate a Excel COM object (similar to the PHPBuilder COM article), and use the COM methods to create an Excel file. Or, I can fopen and fput a CSV

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

2001-01-23 Thread Rouvas Stathis
Hit Thomas, you need to recompile PHP with the options you want (as a shared apache module) and then replace libphp4.so on /usr/lib/apache/ with your own version. A good thing is to keep SuSE's version as a backup:-) Don't forget to restart apache afterwards. (/etc/rc.d/apache stop;

[PHP] field types

2001-01-23 Thread Jason Jacobs
Does anyone know a function to give me the mySql field types? I saw the function mysql_field_type, but that returns php types not mysql. What I wanna do is if the type of the field is "Text" then I wanna make a "textarea" to edit and add stuff. Thanks. Jason -- PHP General Mailing List

RE: [PHP] field types

2001-01-23 Thread Boget, Chris
Does anyone know a function to give me the mySql field types? I saw the function mysql_field_type, but that returns php types not mysql. What I wanna do is if the type of the field is "Text" then I wanna make a "textarea" to edit and add stuff. Thanks. If you have phpMySql, take a look

Re: [PHP] Session problems

2001-01-23 Thread Johannes Janson
you have to set the 'session.save_path' in your php.ini. be careful with the slashes you use. as you can see from the error msg by default it's '/' but windows uses '\'. good luck Johannes "Jimmy Bäckström" [EMAIL PROTECTED] schrieb im Newsbeitrag

RE: [PHP] field types

2001-01-23 Thread Boget, Chris
If you have phpMySql, take a look at the file: /mysqladmin/tbl_properties.php That code is doing something to return the type of the field. It's a little hard to follow so I don't know exactly how he's doing it and unfortunately, didn't have the time to decipher. :p However, I'm sure if

Re: [PHP-CVS] cvs: php4 / NEWS /ext/mysql/libmysql acinclude.m4 bmove.ccharset.c config-win.h dbug.h default.c errors.c fix_copyright global.hlibmysql.c m_string.h mf_dirname.c mf_format.c mf_pack.c mf_path.cmy_alloc.c my_create.c my_fopen.c my_i

2001-01-23 Thread Sebastian Bergmann
MySQL Team wrote: Log: Upgrade ext/mysql/libmysql to version 3.23.32. One notable bug fix is that the client can now connect to a server which is using a default charset other than latin1. I can't link the latest CVS of PHP on Win32: libmysql.lib(my_thr_init.obj) : error LNK2001:

[PHP] Multiple Page Form

2001-01-23 Thread Jeremy Bowen
hey, I am sure this is a dumb question but, I cannot seem to find out what i am doing wrong. I have a three page form, it basically takes a users input, displays it on the next page to make sure the users info is correct (i store the variables on this page in a form in hidden input tags), when

[PHP] Session tracking question

2001-01-23 Thread Wade D
what do most use, combination of cookies and GET? -- 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]

RE: [PHP] Multiple Page Form

2001-01-23 Thread Benjamin Munoz
Make sure you are not forgetting to include $action as a hidden input, so your script can know how to process. input type=hidden name=action value=Send, for example -Ben -Original Message- From: Jeremy Bowen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 12:17 PM To:

RE: [PHP] field types

2001-01-23 Thread Joao Prado Maia
On Tue, 23 Jan 2001, Boget, Chris wrote: Never mind, I see how he did it. He runs the following query: "SELECT FIELDS FROM $tableName" Where '$tableName' is your table (obviously) and he parses the result to get all the information. Actually he did a "SHOW FIELDS FROM $tableName".

Re: [PHP] Session tracking question

2001-01-23 Thread Alexander Wagner
Wade D wrote: what do most use, combination of cookies and GET? IMHO the optimal solution are cookies with a fallback to GET. In some situations, though, it may be better to drop cookies completely. Wagner -- One maniac alone can do what 20 together cannot -- PHP General Mailing List

Re: [PHP] Session tracking question

2001-01-23 Thread Todd Cary
Wade - I am very new with using PHP so I cannot submit my answer as "what most use". However, here is what I use: I do not like to be dependent on Cookies. For me, Cookies are a convenience. That is, I may store a UserID and if it is in a Cookie, use the ID to put up a greeting or whatever.

Re: [PHP] Sending a mail in HTML format

2001-01-23 Thread Jade Ohlhauser
1.that won't always display properly 2.that doesn't allow for inline images To do it properly use MIME. Richard Heyes has already done all the hard work for you: http://www.zend.com/codex.php?id=103single=1 . Jade Ohlhauser [website architect]... http://bandwidthplace.com

[PHP] To much PHP (Newbie)

2001-01-23 Thread Mike Mike
Is there a such thing as to much code in an include file that will break it. Assuming that you have, say 20 people hitting that one page simultaniously. Will it just slow things or will it actually break (As in show code to the viewer)? Thanks --Mike

Re: [PHP] non-php related question.

2001-01-23 Thread Steve Edberg
Try wget http://sunsite.dk/wget/index.html At 12:05 PM -0500 1/23/01, Jason Jacobs wrote: Hey guys and gals! I have my personal site on go.com, and I wanna move it. The problem is I don't have it all backed up on my machine (I think I only have some of the images), but I want to move

Re: [PHP] Sending a mail in HTML format

2001-01-23 Thread Alex Black
that html mail class is fantastical :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 From: [EMAIL PROTECTED] ("Jade

[PHP] zend ide debugger

2001-01-23 Thread Alex Black
ola all, has anyone used the zend ide+debugger? before I slap down $800, I'd like to know if people who have think it's groovy.. :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film

[PHP-CVS] cvs: php4 /pear Makefile.in

2001-01-23 Thread Colin Viebrock
cmv Tue Jan 23 13:08:13 2001 EDT Modified files: /php4/pear Makefile.in Log: Never added this ... Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.64 php4/pear/Makefile.in:1.65 --- php4/pear/Makefile.in:1.64 Fri Jan 19 21:39:26 2001 +++

Re: [PHP] zend ide debugger

2001-01-23 Thread Alex Black
The IDE+Debugger combo really looks great, esp. because of the debug support being AWOL in PHP4. I'm a little bit irked about that actually, they obviously stopped the "free" development on it, and moved it in house. But I guess you gotta put food on the table :) I really would prefer to have

[PHP] Help w/ quotes/html and data from MySQL

2001-01-23 Thread Shane McBride
I have a field in MySQL that holds data that may look like this: bRose Painting/b"Looks really nice, blah, blah"b25.00/b Now, I want to pull that data back into a form textarea to edit. Here's how I have unsuccessfully been doing it: ? beginning code tdDescription:/td tdtextarea

Re: [PHP] How does PHP accept multiple selection

2001-01-23 Thread Shawn Blaylock
It stores it in a 2D array. There's info on it on the FAQ. here's the URL: http://www.php.net/FAQ.php#7.14 david klein wrote: Hello, I have some codes like: select name="links" size="5" multiple OPTION VALUE="scripttip1.html" Page 1 OPTION VALUE="scripttip2.html" Page 2

Re: [PHP] Help w/ quotes/html and data from MySQL

2001-01-23 Thread Steve Edberg
At 4:47 PM -0500 1/23/01, Shane McBride wrote: I have a field in MySQL that holds data that may look like this: bRose Painting/b"Looks really nice, blah, blah"b25.00/b Now, I want to pull that data back into a form textarea to edit. Here's how I have unsuccessfully been doing it: ?

[PHP-CVS] cvs: php4 /ext/vpopmail CREDITS README config.m4 php_vpopmail.c php_vpopmail.h

2001-01-23 Thread Boian Bonev
bbonev Tue Jan 23 13:46:08 2001 EDT Modified files: /php4/ext/vpopmail CREDITS README config.m4 php_vpopmail.c php_vpopmail.h Log: changed function names to be like vpopmail_add_user instead vpopmail_adduser added vpopmail_error to

[PHP] Zend Store products questions

2001-01-23 Thread Andrew Sitnikov
Hello , I have some questions about new products from Zend. 1. After the my "Commercial Subscription Plan" expire, will scripts coded with "Zend Encoder SE" working ? (if it work in users servers with "Zend Encoder SE Runtime plugins"). 2. If I shall choose payment 12 months, I

[PHP] apache + mssql

2001-01-23 Thread Thor M. Steindorsson
HELP! I need to access a database on a mssql server from a linux box, but the php doesn't recognize any of the mssql statements. Apparently mssql support was not included in the inital php installation (which came with Mandrake 7.2). I know there's the option of downloading the PHP source and

[PHP] Help: Google like page functions

2001-01-23 Thread Shane McBride
I thought this had been addressed earlier, but I could not find the thread. If I have a MySQL DB that has 50 records in it and I want to display 5 per page. How do I do this. Also, 50 was just a nice round number, the number will change constantly. All the search engines are doing this type of

Re: [PHP] Help: Google like page functions

2001-01-23 Thread Ashley M. Kirchner
Shane McBride wrote: If I have a MySQL DB that has 50 records in it and I want to display 5 per page. How do I do this. Also, 50 was just a nice round number, the number will change constantly. $sql = "select * from table limit 0,5"; -- first 5 $sql = "select * from table limit 5,5";

  1   2   >