Re: [PHP] WAHOO!!!

2001-08-12 Thread Kyle Smith
at the moment in the quote bank we have the following Random quote by lk6 - Lifes a bitch, then you die Random quote by Wizaerd (from True Romance) - Live fast, die young, and leave a good looking corpse... Random quote by anon - No matter where you might be; there you are Random quote by

[PHP] Form help

2001-08-12 Thread Mitja Simi
Each user has a long list of magazines to choose from. Problem is that for every magazine there is a checkbox and there are a lot of magazines to choose from (more than 100). I put all of them in one form. After submit I have to know which magazines user checked. Is there any more simple way than

[PHP] Re: submit form problem

2001-08-12 Thread Inércia Sensorial
I haven't found a way to disable the Enter key to submit the form, as I believe it does exists, but, found a way so when Enter is pressed works like Tab, moving to the next form field. Here: http://www.faqts.com/knowledge_base/view.phtml/aid/6793/fid/129 Google search used:

[PHP] Re: Passing LARGE (1500-2500 chars) variable from JScript to PHP?

2001-08-12 Thread Inércia Sensorial
I don't think it is possible to pass so much chars in a href, or URL for the matter. Is it really necessary? Couldn't you first write somewhere (db/file) those chars and retrieve it later, referencing it on the href? -- Julio Nobrega. 2B||!BB - That's the question. News.Fbcc.Com [EMAIL

[PHP] Re: server run page

2001-08-12 Thread Inércia Sensorial
I have seen this question before on a brazilian newsgroup I visit, and the only solutions we came (without going away from a default php installation) is to use the function include(); (and similars) or sessions. If anyone knows a different way, I would also be interested to know, to inform

[PHP] Re: development to ISP migration headache

2001-08-12 Thread Richard Lynch
I have a site on my laptop, works fine. When I tar it up and move to my ISP for a production environment, certain things stop working. The two environments are pretty much the same, except my laptop is php_mod and the ISP is a cgi. Turn your laptop into a CGI and see if you can duplicate

[PHP] Re: Problems with exec

2001-08-12 Thread Richard Lynch
i have some problems with exec. i am using win2000, apache and latest php version. always 'unable to fork' . what´s the problem? As I understand it: Windows is not thread-safe. As an implication, exec-ing something would just crash anyway. Thus, exec() and friends won't work on Windows in

[PHP] Re: evaluate data taken from db

2001-08-12 Thread Richard Lynch
$cat=select * FROM categories c WHERE c.type='Earmold'; $cats=mysql_query($cat); while ($row = mysql_fetch_array($cats)) { extract($row); if ($id == $cid){ echo $name; } else{ echo a class=subnavlink href=\?cid=$idpage=1\$name/a ; } } What I would like to do is turn off the link

[PHP] Re: Cookie only worked on / but not in any sub-directories

2001-08-12 Thread Richard Lynch
Try adding / after the time argument to SetCookie. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message

[PHP] Re: PHP and Public Key System cryptos? (PKS)

2001-08-12 Thread Richard Lynch
You can http://php.net/exec gunpg or PGP. Sample code in email archives and code archives http://php.net/links.php abounds. I think there's a relatively new gnupg module, but don't quote me on that. http://php.net/gnupg CAVEAT: You need to make the public key-halves in the keyring readable by

[PHP] Re: upgrading from 4.03 to 4.06

2001-08-12 Thread Richard Lynch
You'd have to show us every line that mentioned $connectionid for us to figure out where it disappeared... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time:

[PHP] Re: Meta Tags and Regular Expressions

2001-08-12 Thread Richard Lynch
You do realize there is a PHP function for that http://php.net/get_meta_tags, I think... It will not work properly on oddly-formatted META tags, though... Go fit it, after you figure out the right Regex expressions. You'll want the non-greedy Regex (POSIX or Perl, I forget which is which). --

[PHP] Re: Socket problem

2001-08-12 Thread Richard Lynch
Anybody else using 1 on that machine yet? netstat -a -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original

[PHP] Re: again session doubt

2001-08-12 Thread Richard Lynch
#1. You *CANNOT* count on session data to be registered by your main FRAMESET before the requests for the sub-FRAMEs are made. Pass any variables you need on the first page through the URLs: FRAMESET ... FRAME SRC=foo.php?username=?php echo $username;? ... FRMAE SRC=bar.php?username=?php

[PHP] Re: submit form problem

2001-08-12 Thread Richard Lynch
I've a script accepting four different forms depending on the user choice. Some of the forms have two submit buttons forcking actions accordingly to the pressed button. The problem is: $HTTP_POST_VARS[submit] is not set if the user press ENTER instead of clicking the button and the scripts

[PHP] Re: href and download

2001-08-12 Thread Richard Lynch
Use header(Content-type: application/octet-stream); There are also headers to prompt with the right filename. Search archives for Content-disposition -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD:

[PHP] Re: Handling files

2001-08-12 Thread Richard Lynch
$data[0] = addslashes(fread(fopen($picture1, r), filesize($picture1))); Gak. You are missing otu on all sorts of error-checking there... to store files from a client machine but now I want to store files from a webstie ie http://servername.com/file.jpg Just use $picture1 =

[PHP] Re: server run page

2001-08-12 Thread Richard Lynch
i developp under asp or cold fusion. with this language, when you request a page, the server runs automatiquely a page: global.asa with asp and application.cfm with cold fusion. can i do the same thing under php ? You can use auto_prepend in your php.ini file to call any file you like

[PHP] Peace and quiet

2001-08-12 Thread Kyle Smith
i know this is out of tpic but i thought it would be a reason for you to celebrate, im going on holiday or vacation see ya in 2 weeks... BYE!! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666

Re: [PHP] server run page

2001-08-12 Thread mike cullerton
on 8/12/01 1:08 PM, lolodev at [EMAIL PROTECTED] wrote: i m beginner with php. i developp under asp or cold fusion. with this language, when you request a page, the server runs automatiquely a page: global.asa with asp and application.cfm with cold fusion. can i do the same thing under

[PHP] strstr Question

2001-08-12 Thread Erich Zigler
I am currently writing a piece of code that when a user enters in their email address it will check it for validity. In this instance they are supposed to type in [EMAIL PROTECTED] But if they just type in user I want it to add @domain.com at the end by default. This is the piece of code I have

Re: [PHP] Re: replacing variables in file

2001-08-12 Thread David Ovens
I am making a program, that uses the fsockopen command looking at various url's, but occasionally it stops with a timeout error, I have used the @ infront of the fsockopen command, but it still times out with the error, how do I make php ignore the error so that I can make it automatically retry

[PHP] Using fsockopen()

2001-08-12 Thread David Ovens
I am making a program, that uses the fsockopen command looking at various url's, but occasionally it stops with a timeout error, I have used the @ infront of the fsockopen command, but it still times out with the error, how do I make php ignore the error so that I can make it automatically retry

Re: [PHP] Can't insert record using UltraDEV with PHAKT to MYSQL

2001-08-12 Thread David Robley
On Fri, 10 Aug 2001 19:58, Jack wrote: Dear all I had installed a software (PHAKT) into UltraDev, then the application server i used is ASP, and i had create a table on Mysql. Everthing seems works fine, i had test the connection and match all to field to the field of the mysql table! i had

Re: [PHP] strstr Question

2001-08-12 Thread Mark Maggelet
On Sun, 12 Aug 2001 18:42:48 -0500, Erich Zigler ([EMAIL PROTECTED]) wrote: I am currently writing a piece of code that when a user enters in their email address it will check it for validity. In this instance they are supposed to type in [EMAIL PROTECTED] But if they just type in user I want it

[PHP] Interested in a new Affiliate Program??

2001-08-12 Thread new
This message is not SPAM. You have received this email because you either posted to my FFA page, Classified Ad page, submitted an e-mail ad, we have had several EMAIL exchanges or we belong to the same opt-in EMAIL list. If you wish to have your address removed please forward this message with

[PHP] Re: Passing LARGE (1500-2500 chars) variable from JScript to PHP?

2001-08-12 Thread news.fbcc.com
Wow, seems pretty obvious now that you've said it, Richard, but then that's how it always works. Yes, I can just write it all to a file and then upload that to the server then can grab it from there with PHP. Ahhh, life is GOOD! Worst case, the the user will have to click twice, once for the

[PHP] Re: Passing LARGE (1500-2500 chars) variable from JScript to PHP?

2001-08-12 Thread news.fbcc.com
Thank you for the response Julio! That's what I will do is write to a file and then upload that file. From there I can have PHP get to that file for insert/update into a MySQL database. Thanks much! Andre InéRcia Sensorial [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Re: Passing LARGE (1500-2500 chars) variable from JScript to PHP?

2001-08-12 Thread chrissl \[christopher czettel\]
all you need is a unvisible iframe (IFRAME width=0 height=0 name=framename ... /IFRAME) and give it a name. then, you do a framename.write('data') with data in this format: form method=post action=youphpscript.php name=formname input type=hidden name=youvarname value=youdatatosend /form

Re: [PHP] Re: Problems with exec

2001-08-12 Thread Data Driven Design
I've used system() instead of exec() on windows systems with success before. Data Driven Design 1506 Tuscaloosa Ave Holly Hill, Florida 32117 http://www.datadrivendesign.com Phone: (386) 226-8979 Websites That WORK For You - Original Message - From: Richard Lynch [EMAIL PROTECTED] To:

Re: [PHP] Re: upgrading from 4.03 to 4.06

2001-08-12 Thread Yamin Prabudy
Ok this is my error line...once again when I used 4.03 this script is already run...but got problem when i upgrade itu to 4.06 $db=database; $connectid=mysql_connect(bla,bluh,foo); mysql_db_query($db,UPDATE profile SET FullName='$FullName',Gender='$Gender',Birthday='$Birthday',.

[PHP] Can't run perl script using exec or system

2001-08-12 Thread Lara J. Fabans
Hi, friends, Using the following code, the two files copyUp.pl and convert.pl aren't called. I can run them peachy dandy from the commandline with the expected results. I've tried system(), exec(), and back tics. Thanks, Lara ---8 8 -

[PHP] Postgresql large objects.

2001-08-12 Thread speedboy
Does using pg_loread or any other php functions for postgresql large objects modify the size of the file? I'm seeing a size increase in a few bytes when I receive the file back to my hard drive. The file still seems to run ok, but I'm wondering what is doing this? -- PHP General Mailing List

[PHP] logging bandwidth

2001-08-12 Thread [EMAIL PROTECTED]
Hello, I am logging server activity to a MySQL database. Unfortunately, I have yet found a way to log the number of bytes being transferred to a visitor. The closest I've come to anything like that is apache_lookup_uri() but I'm not sure it's meant to handle such a thing. Does anyone know

Re: [PHP] logging bandwidth

2001-08-12 Thread Rasmus Lerdorf
I am logging server activity to a MySQL database. Unfortunately, I have yet found a way to log the number of bytes being transferred to a visitor. The closest I've come to anything like that is apache_lookup_uri() but I'm not sure it's meant to handle such a thing. Does anyone know a

Re: [PHP] logging bandwidth

2001-08-12 Thread Jason Brooke
I am logging server activity to a MySQL database. Unfortunately, I have yet found a way to log the number of bytes being transferred to a visitor. The closest I've come to anything like that is apache_lookup_uri() but I'm not sure it's meant to handle such a thing. Does anyone know a

[PHP] Mail()

2001-08-12 Thread Mahmoud Kassem
How can force my From: instead of the nobody@servername ?

Re: [PHP] Mail()

2001-08-12 Thread ReDucTor
From : Your Name [EMAIL PROTECTED] make sure you have the arrow things around it... thats in your headers... - Original Message - From: Mahmoud Kassem [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 13, 2001 4:20 PM Subject: [PHP] Mail() How can force my From: instead