Re: [PHP] I'm a newbie and running php on Linux

2010-03-31 Thread King Coffee
Thanks you Nathan. That worked. Sincerely, King "Nathan Rixham" wrote in message news:4bb37e7e.5040...@gmail.com... Ashley Sheridan wrote: On Wed, 2010-03-31 at 11:32 -0500, King Coffee wrote: Hi, I ran the following code snippet on Windows IIS 7, in my index.php file and it w

Re: [PHP] I'm a newbie and running php on Linux

2010-03-31 Thread King Coffee
Thanks, I think Output_Buffering may be the difference on the two servers. I had a default php.ini on the Linux server but not on the Windows server. But for now, I remove the echo statement. Thank, King "jose javier parra sanchez" wrote

[PHP] I'm a newbie and running php on Linux

2010-03-31 Thread King Coffee
redirect('welcome.html'); */ if (!headers_sent()) { header('Location: ' . 'http://auction.househops.com/index.php'); } else { die('Could not redirect.'); } ?> Thanks, King -- PHP General Mail

Re: [PHP] PHP SMTP Mailers

2010-03-22 Thread King Coffee
Thanks, I try it and had not problems! King -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP SMTP Mailers

2010-03-21 Thread King Coffee
require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.;C:\php5\pear') in D:\Hosting\ID#\html\auction\Mail.php on line 46 I will be still trying the get pear installed in VISA, but meanwhile, how can I obtain the PEAR.php and supporting files to upload? Thanks, King -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP SMTP Mailers

2010-03-20 Thread King Coffee
oject. Can any body please help me choose one and probably give a code snip of useage? Currently, I'm leaning forward the PHPMailer, with little to base the decision on. Thanks in advanced, King Coffee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] Java applet clearing session variables?

2009-04-02 Thread Dan King
It seems that our java applet is clearing our php session variables. I have an html form that saves user information as session variables. These session variables are used to create folders, where uploaded files can be saved. I've tested my php script that uses the session variables to create a

[PHP] fsockopen Fread and fget issue

2008-06-05 Thread Ross King II
When I do the following it grabs the response (And using a packet sniffer I can see the server responds quick). If I only call fread one time it will read and return the page to the server. If I read a second batch after the eof it hangs for 30 seconds. All I want to do is send a raw POST a

[PHP] Re: keeping credit card info in session

2007-04-10 Thread Jim King
x27;s questions. I'll be updating my systems to comply. Thanks! -Jim On Apr 10, 2007, at 9:18 AM, itoctopus wrote: Encryption is a mandatory part of PCI compliance... -- itoctopus - http://www.itoctopus.com "Jim King" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PRO

[PHP] Re: keeping credit card info in session

2007-04-09 Thread Jim King
Does encrypting credit card information really do any good? You have to store the keys somewhere to decrypt the data to use it. As we have seen with blu-ray and HD DVD movies, the keys are the weak point that are easily compromised. Besides, even encrypted data can be decrypted by bru

[PHP] Trouble sending data via TCP socket

2006-05-15 Thread J. King
on my colleague's machine) and all three gave me similar errors (with differing levels of spec compliance...). In short, I am stumped. If anyone with some experience in these matters could shed some light on my problem I would be most grateful. [1] <http://cjphp.netflint.ne

[PHP] Problems with realpath()

2006-01-31 Thread Ron King
Hi, My hosting isp just upgraded from 4.3.1 to 4.4.1, and some of the tools I use (from InterAKT) no longer work. After doing quite a bit of research, I've seen a few bugs regarding realpath(), but none related to 4.4.1. When I try the following: With version 4.4.0, I get the following a

Re: [PHP] I got the mail form blues! HTML/POST/mail() question - Also request for style suggestions

2004-12-16 Thread Ryan King
On Dec 16, 2004, at 10:02 PM, Monique Verrier wrote: Hi! I have an html string stored in $message. I "submit" the form to a subroutine and the value in $message is lost. All the other variables come into feedback.php just fine. I would love any help. This is a new language for me so any sug

Re: [PHP] assignment

2004-12-11 Thread Ryan King
On Dec 9, 2004, at 10:02 PM, Song Ken Vern wrote: Hi, Tried searching for what this $$ operator means. But can't get the right results by using $$ as search string in php manual. $temp = $$temp2; Is this an array assignment? No, its a variable varible: http://us2.php.net/manual/en/language.variab

Re: [PHP] Multiple Inheritance

2004-12-10 Thread Ryan King
On Dec 10, 2004, at 3:50 PM, Greg Donald wrote: On Fri, 10 Dec 2004 10:32:30 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]> wrote: What I do is not use classes. I agree. Some of the worst arguments for OO I've heard recently: "OO programming lets you organize your code better." So what you're sayi

Re: [PHP] Multiple Inheritance

2004-12-10 Thread Ryan King
On Dec 10, 2004, at 4:17 PM, Greg Beaver wrote: The biggest hogs in php programming are: 1) unnecessary images and animated crap/unnecessary javascript 2) terrible database usage 3) too much complexity in the design I would like to add 0) Compilation. Many scripts take longer to compile than execut

Re: [PHP] PEAR performance/overhead

2004-12-08 Thread Ryan King
On Dec 7, 2004, at 12:34 PM, David Dickson wrote: I was told that PEAR has too much overhead to be considered for a large scale site. Does any one feel the same? Is this an outrageous comment? I would like to hear comments from people who are using PEAR, or people who have considered PEAR but de

Re: [PHP] Problem with code

2004-12-07 Thread Ryan King
On Dec 5, 2004, at 9:05 PM, Richard Kurth wrote: I am having a problem with the code below it provides the first page with out any problem but when I select the next page it shows all the results from the first page and the results from the second page. It does the same thing on the third page also

Re: [PHP] Very fresh to php

2004-11-30 Thread Ryan King
On Nov 30, 2004, at 10:45 PM, suneel wrote: Hi...guys, I'm a new bee to php. Could any one tell me that who is the father of php? take care guys, That would be Rasmus Lerdorf - http://php.net/history -ryan - http://theryanking.com/blog -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] automatic responder

2004-11-28 Thread Ryan King
On Nov 28, 2004, at 10:38 AM, Alessandro Rosa wrote: Yes, but perhaps every 5 minutes. You have to solve this too, either cron job if you have it available or it can be trigered by user http requests (not very reliable). Thanks again! Yours e-mail fixed some procedural doubts I have been thinking a

Re: [PHP] Grammar for PHP

2004-11-28 Thread Ryan King
On Nov 28, 2004, at 7:28 AM, Dominic Fox wrote: Hi, I would like to parse some PHP files to extract some information about them. Is there a formal grammar (EBNF or other) anywhere that I could use as a reference? I'd like to write the parser myself (in Haskell), so existing PHP parsers (in PHP itse

Re: [PHP] Re: intalling pear:db

2004-11-25 Thread Ryan King
On Nov 25, 2004, at 1:56 AM, Merlin wrote: Hi, that did not help. The pear manual says that this can be installed via command line, plus "pear list" tells me that the package is installed. However if I call phpinfo() there is no mentioning about pear in any way?! Do I have to enable it first any

Re: [PHP] Where to learn about these topics

2004-11-22 Thread Ryan King
On Nov 22, 2004, at 11:33 AM, Chris Lott wrote: In MySQL I would say... If you have data which has to be inserted in serveral tables, you must first check if all conditions are ok. So, do some selects to check if everythin in your database is ok, and after that, execute the query. But, when you re

Re: [PHP] Tabs or Spaces?

2004-11-21 Thread Ryan King
On Nov 21, 2004, at 5:09 PM, Chris Shiflett wrote: --- Ryan King <[EMAIL PROTECTED]> wrote: However, when indenting with 3 spaces instead of a single tab, then your code-size WILL increase, and will include 3x more "space content" than it used to :) Who cares? Just to point out

Re: [PHP] Re: Tabs or Spaces?

2004-11-21 Thread Ryan King
On Nov 21, 2004, at 3:09 PM, Matthew Weier O'Phinney wrote: * Daniel Schierbeck <[EMAIL PROTECTED]>: There seems to be some tendency towards using spaces instead of tabs when indenting PHP code - personally i can't come up with any reason not to use tabs. I was just wondering if any of you freakee

Re: [PHP] Tabs or Spaces?

2004-11-21 Thread Ryan King
On Nov 21, 2004, at 4:30 PM, M. Sokolewicz wrote: Jon-Eirik Pettersen wrote: Daniel Schierbeck wrote: Hello there! There seems to be some tendency towards using spaces instead of tabs when indenting PHP code - personally i can't come up with any reason not to use tabs. I was just wondering if any

Re: [PHP] require() in other directories?

2004-11-18 Thread Ryan King
Peter Lauri wrote: I get the Failed to open stream, no such file in directory If you were in one of these folders: /fr/ /eng/ And your classfile was namned classes.php and in the directory: /classes/ And you wanted to include the classfile, how would you write it? I would assume: require("/classes/

Re: [PHP] mp3 cropping

2004-11-17 Thread Ryan King
On Nov 17, 2004, at 10:05 PM, Robby Russell wrote: On Wed, 2004-11-17 at 21:53 -0600, Ryan King wrote: Anyone out there know of a tool or technique for cropping an MP3 file (e.g., cutting the first 30 sec out into another file)? PHP would be nice, but not necessary. TIA, ryan a php question would

Re: [PHP] mp3 cropping

2004-11-17 Thread Ryan King
On Nov 17, 2004, at 10:05 PM, Robby Russell wrote: On Wed, 2004-11-17 at 21:53 -0600, Ryan King wrote: Anyone out there know of a tool or technique for cropping an MP3 file (e.g., cutting the first 30 sec out into another file)? PHP would be nice, but not necessary. TIA, ryan a php question would

[PHP] mp3 cropping

2004-11-17 Thread Ryan King
Anyone out there know of a tool or technique for cropping an MP3 file (e.g., cutting the first 30 sec out into another file)? PHP would be nice, but not necessary. TIA, ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mp3 parsing

2004-11-16 Thread Ryan King
On Nov 16, 2004, at 7:24 PM, Manuel Lemos wrote: Hello, On 11/16/2004 10:58 PM, Ryan King wrote: Anyone out there have a way to read the header info out of an mp3 file? I'm able to parse out the id3 tags, but am having trouble finding a way to read the header info. The info I'm trying

[PHP] mp3 parsing

2004-11-16 Thread Ryan King
Anyone out there have a way to read the header info out of an mp3 file? I'm able to parse out the id3 tags, but am having trouble finding a way to read the header info. The info I'm trying to get is the playtime and bitrate. thanks, ryan -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] isset opposite

2004-11-16 Thread Ryan King
On Nov 16, 2004, at 5:11 PM, Dustin Krysak wrote: Hi there.. I am pretty new to PHP, and I am familiar with php "isset" option now i was wondering (I have looked at the PHP site - but can not find it) how can you check if something is not set? I need to test if a $_GET is not set (not ju

Re: [PHP] Date handling

2004-11-15 Thread Ryan King
On Nov 15, 2004, at 2:05 PM, Ryan wrote: Hello, I would like to find out the 'official' way to handle dates in PHP. There are many paths, choose the one best for you. :-) I am looking at the PEAR Date module and that seems to resolve these issues, but I would like to know if that is the standard/o

Re: [PHP] explode and PATH_SEPARATOR

2004-11-15 Thread Ryan King
On Nov 15, 2004, at 10:17 AM, Francisco M. Marzoa Alonso wrote: Taking this code: define (PATH_SEPARATOR, "/"); $String="Root/One/Two/Three/Last"; $arr = explode ( PATH_SEPARATOR, $String ); var_dump ( $arr ); $arr = explode ( "/", $String ); var_dump ( $arr ); ?> PATH_SEPARATOR is is a predefin

Re: [PHP] unable to use vars in foreach [updated question]

2004-11-14 Thread Ryan King
On Sunday, November 14, 2004, at 08:44PM, Jonathan Villa <[EMAIL PROTECTED]> wrote: >So, searching php.net (I swear I did before...) > >I found this at http://us2.php.net/language.types.array > >" You cannot use arrays or objects as keys. Doing so will result in a >warning: Illegal offset type.

Re: [PHP] unable to use vars in foreach

2004-11-14 Thread Ryan King
On Sunday, November 14, 2004, at 08:36PM, Jonathan Villa <[EMAIL PROTECTED]> wrote: >> >> On Sunday, November 14, 2004, at 08:24PM, Jonathan Villa <[EMAIL PROTECTED]> >> wrote: >>> >>>$modules = simplexml_load_file(MODULES); >>> >> >> Are you certain that MODULES has been defined()? And

Re: [PHP] unable to use vars in foreach

2004-11-14 Thread Ryan King
On Sunday, November 14, 2004, at 08:24PM, Jonathan Villa <[EMAIL PROTECTED]> wrote: > >$modules = simplexml_load_file(MODULES); > Are you certain that MODULES has been defined()? And what do you get when you print_r($modules)? -ryan -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] inline_C installation

2004-11-11 Thread Ryan King
On Nov 11, 2004, at 12:50 PM, Rayan Lahoud wrote: Does anybody knows how to install a pear package. i have the inline_C package that i want to install and use. And can i have some sample functions using this package? I believe the inline_c package is actually a pecl package [pecl.php.net], howe

Re: [PHP] You know you're a geek when...

2004-11-07 Thread Ryan King
On Sunday, November 07, 2004, at 10:38PM, raditha dissanayake <[EMAIL PROTECTED]> wrote: >Murray @ PlanetThoughtful wrote: > >>.You upgrade MySQL from 4.0.x to 4.1.x and you get excited because now you >>can include subselects in your pages. >> >> >You know you're a geek when you know which l

Re: [PHP] Automatic Execution of Function

2004-11-07 Thread Ryan King
On Sunday, November 07, 2004, at 09:38PM, Kevin Javia <[EMAIL PROTECTED]> wrote: >Hi, > >I need to make a function that will execute "automatically" at some regular >intervals. > >Is it possible? If yes, can any give me some hint how can I make such thing? > >Thanks. >Kevin. > I presume you're

Re: [PHP] Re: Trouble with Apache, PHP, pear

2004-07-24 Thread Ron King
Matthew (and Marek), >>Sounds like you've done everything correctly, just PHP wasn't installed >> as a >>CLI. Just to be sure, do a $ find / -name php > > Is it ok to have PHP installed as both CLI and as a module? > It is perfectly okay to have both. I'm using both on a server I have. I installed

[PHP] Re: [newbie] Trouble with Apache, PHP, pear

2004-07-23 Thread Ron King
i first. I didn't know if it was OK to have both the cli and the module/extension installed at the same time. The references I have seen make it seem like you need to choose one or the other. regards Franki Thanks, -- Ron Ron King wrote: Hi all, When I installed Mandrake 10.0 I thought I had A

Re: [PHP] Trouble with Apache, PHP, pear

2004-07-23 Thread Ron King
At 06:28 AM 7/23/2004, you wrote: You need php-cli rpm, it's not an extension, it's command line binary. And it won't hurt anything to have both cli and extension installed? -- Ron Ron King wrote: When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL installed cor

Re: [PHP] Re: Trouble with Apache, PHP, pear

2004-07-23 Thread Ron King
hp If it's not found, just grap a PHP rpm (make sure it's a CLI version, or --with-cli) and install that. Hope that's helpful, Aidan Thanks for the help, -- Ron "Ron King" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > When I installed Mandrake

[PHP] Trouble with Apache, PHP, pear

2004-07-23 Thread Ron King
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL installed correctly. I could serve web pages, MySQL worked, and when I tried the phpinfo() function, I got a page that looked OK. I could create simple php pages and serve them up. Then I tried to install pear, and things sta

[PHP] More info on MikeRoweSoft.com...

2004-01-31 Thread Alex King
out it. Really, Mike should have known that Microsoft wouldn't be as nice as Macromedia, but lets just hope that his little sister, Mika, is smarter. Alex King -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Spell checker in PHP

2004-01-29 Thread Alex King
Justin, I don't know what version of Word you have, but XP seems to do fine with correcting city names. Alex "Justin French" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Saturday, January 10, 2004, at 06:57 AM, Robin Kopetzky wrote: > > > Good afternoon! > > > > I know aspel

[PHP] Re: Why we love Microsoft (0t)

2004-01-28 Thread Alex King
Hey, Did you know that he has an older brother named "Mac"? He's a media consultant. Wonder why his site never got any trouble. Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using exim with mail()

2003-12-05 Thread King Pochacoo
o exim and so you don't call exim directly; 2. If exim is owned by user 'mail' or 'exim' - the defaults - and you're trying to call it with user 'nobody' or 'www' or whatever your default apache user is, you're going to have a problem, aren&#

[PHP] Using exim with mail()

2003-12-04 Thread King Pochacoo
Hi all, I set sendmail_path = /usr/sbin/exim -ti in php.ini But when I call to mail(), it displays Fatal error: Call to undefined function: mail() in /home/society/info/public_html/forum/include/userlogin.php on line 361 What's wrong with my setting in php.ini ??? I am sure my code is

[PHP] help with Log() function

2003-11-28 Thread Jon King
Hello, I'm having trouble getting a log formula to work. This forumla is supposed to return the number of payment required zero out a loan balance. /* n = - (LN(1-(B/m)*(r/q)))/LN(1+(r/q)) q = amount of annual payment periods r = interest rate B = principal m = payment amount n = amount payment

[PHP] PHP Sessions

2003-10-25 Thread Phil King
Hi All, I have a login page that which verifies he username & password against a MySql database and then passes the username to another page as a session. I created this on my PC, which is running PHP version 4.3.2, and it works with no problem. My host has the following set on the server which

Re: [PHP] Displaying Blobs by a newbie

2003-09-14 Thread Phil King
Hi Curt, Thanks for the tip. I created the two scripts . The image tag on the main page calls the image from the other script with an incremented id parameter. Thanks for your help. Phil. "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrot

Re: [PHP] Displaying Blobs by a newbie

2003-09-13 Thread Phil King
jpeg format. > > I'd try; > > fetching the db column in to a string variable; > > then; > > $im = imagecreatefromstring($imagestring); > header ("Content-type: image/jpeg"); > imagejpeg($im); > imagedestroy($im); > > good luck, > > Warren Va

[PHP] Displaying Blobs by a newbie

2003-09-12 Thread Phil King
Hi All, I have some images in a mysql database. I wish to display all these images on a PHP Page. I have created a query to retrieve all the images from the database but all that is displayed is characters. I have the Content-Type as image/jpeg in the header of the page to display the images. Ca

Re: [PHP] Newbie Question

2003-08-22 Thread Phil King
Hi Everyone, Thanks a lot for all your advice, I really appreciate it. PHP / mysql is new to me so excuse my ignorance of the subject.. I will go get phpMyAdmin and give it a whirl. Thanks again. Phil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] Newbie Question

2003-08-21 Thread Phil King
ocate it in a secure portion of your site. > It's an excellent gui interface into mySQL. This tool will allow you to > upload the script file and insert the data. I'm sorry, but I don't know the > URL where to get it. Check sourceforge. > > Robbert van Andel > > &

[PHP] Newbie Question

2003-08-21 Thread Phil King
Hi, I 'm in the process of modify one of my sites to use PHP/mysql instead of ASP/Ms Access. The Access database has 200 records in it. I have PWS, mysql and PHP running on my local PC. I have used Navicat from mysqlstudio.com to import the access database into mysql and then exported the data

[PHP] xml parse error?

2003-04-02 Thread Jon King
I'm trying to parse a simple xml file, but I keep getting a strange error at $node->name which returns #text. Is this normal or am I doing something wrong? >From what I understand, the $node->name should return "branch" but it returns #text. TIA Jon --- PHP Code ---

[PHP] PHP-MySQL-HPUX 11

2002-12-04 Thread Rick King
bexec/libphp4.sl into server: Unresolved external ./apachectl start: httpd could not be started Does anyone know what this means? I think the MySQL-libs are trying to source other libs but I'm not sure. Has anyone run into this problem before? Any solutions/help/words of wisdom are great

[PHP] Text from web form

2002-09-11 Thread Rick King
Apache: 1.3.26 PHP: 4.2.3 OS: HPUX-11 Hello PHP Guru's! After successfully installing PHP and viewing the phpinfo page, I decided to create a simple web-form. Just a basic "Name" "Message" web-form, when the form is complete it is emailed to an account. Everything works, except I don't see the f

[PHP] PHP and Special Characters

2002-09-11 Thread Rick King
Apache: 1.3.23 PHP: 4.1.2 Hello PHP Guru's! I have created a simple web form. When the form is complete and submitted, the results are emailed to an email account. But I have noticed that the ' character is escaped. Example: John O\ 'Connor, instead of getting John O'Connor. Is this a problem w

Re: [PHP] what is "Trans-sid" in PHP

2001-12-11 Thread John King
e: > When you doa phpinfo() look at the top block. you will probably see > something like ./configure --enable-track-vars --enable-trans-sid etc. If > it is not here your PHP module was not compiled with trans-sid enabled. > > --Jon > > At 09:13 PM 12/10/2001 -0500, John

[PHP] what is "Trans-sid" in PHP

2001-12-10 Thread John King
Running a script that requires: "Trans-sid enabled in php" How would I find if this is enabled or disabled? Did a phpinfo() on the server but could not find this? Was it a misprint? Thanks, John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Update onBlur or onChange

2001-10-22 Thread KING OGNAJD
Helo: I¹m working on a form that I¹d like to have a feature that adds your total as items are selected. Currently, I¹ve got some javascript doing the job but it only works in ie, and besides, I¹d rather use php if possible. The current prototype form lives at http://www.seatthole.com/order2.php

RE: [PHP] Windows 2000 Permissions error

2001-10-19 Thread King, Justin
driguez [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:18 PM To: King, Justin Subject: Re: [PHP] Windows 2000 Permissions error You said you were running on win 2000 shouldn't you use c:\inetpub\wwwroot as your startdir instead of /inetpub/wwwroot ?? hope this help - Origina

RE: [PHP] Windows 2000 Permissions error

2001-10-19 Thread King, Justin
ub/wwwroot/info/transportation/Trans..." I'm receiving the error. Since the Trans directory is the directory with the different permissions, I'm lead to believe it's a permissions issue. -Justin -Original Message- From: Frewuill Rodriguez [mailto:[EMAIL PROTECTED]] Sen

[PHP] Windows 2000 Permissions error

2001-10-19 Thread King, Justin
While trying to use dir() on a certain directory, I get the error "Warning: OpenDir: Invalid argument (errno 22) in c:\inetpub\wwwroot\search\update.php on line 71". I'm aware this is most likely a permissions error, but I've already given SYSTEM, SELF, and SERVICE full control over the direc

RE: [PHP] randomly picking a variable from an array

2001-09-07 Thread King, Justin
But that would make sense rasmus... and I don't like to make sense =)... if its an array filled from a database, randomizing on the database level would still be better though. --Justin King, School District of Superior Web Coordinator (www.superior.k12.wi.us) -Original Message-

RE: [PHP] Content management

2001-09-07 Thread King, Justin
x27;t require a shift people tend to like it better. If you wanted to go further you could use javascript have automatically put in the tag. --Justin King, School District of Superior Web Coordinator (www.superior.k12.wi.us) -Original Message- From: Scott Parks [mailto:[EMAIL PROTECTED]

RE: [PHP] randomly picking a variable from an array

2001-09-07 Thread King, Justin
" in mysql) If this isn't the case, something like this should work.. srand(time()); $random=rand(0,sizeof($myVar)-1); Hope I could be of some help... --Justin King, School District of Superior Web Coordinator (www.superior.k12.wi.us) -Original Message- From: Joseph Bannon

[PHP] Help me!

2001-08-27 Thread king
i use win98se, where could i get a .DLL or .SO file to accelerate PHP like Zend opt?? thank you!!! -- 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

RE: [PHP] Hack on Server.

2001-07-20 Thread King, Justin
I know this post is old by the list standards, so I don't know if you've gotten help, check in your php.ini for these lines ; automatically add files before or after any PHP document auto_prepend_file = auto_append_file= Does the auto_prepend_file line have something? If so check

RE: [PHP] PHP/mySQL Query....

2001-07-19 Thread King, Justin
Whoops.. do SELECT DISTINCT -Justin -Original Message- From: "Jeff Lewis" <[EMAIL PROTECTED]> Sent: Thursday, July 19, 2001 1:08 PM To: King, Justin; [EMAIL PROTECTED] Subject: Re: [PHP] PHP/mySQL Query Yes but for the first query all I want to do is list the l

RE: [PHP] PHP/mySQL Query....

2001-07-19 Thread King, Justin
I'm assuming you're trying to join them and show resumeID also with this SELECT r.resumeID,r.userID,u.location FROM resumes r,users u WHERE r.userID=u.userID; -Original Message- From: "Jeff Lewis" <[EMAIL PROTECTED]> Sent: Thursday, July 19, 2001 12:45 PM To: [EMAIL PROTECTED] Subject:

[PHP] Form verification

2001-07-19 Thread King, Justin
I'm trying to come up with a general solution for validating data in forms as far as empty fields. I've considered doing javascript, but would prefer to do the method where the page shows the previous form, with notes near fields that need to be filled out properly. My problem is I am trying to

RE: [PHP] dynamically naming arrays

2001-05-17 Thread King, Justin
I guess I'm kind of not understanding what you're trying to do. Besides dynamically create an array. I'd think what you're trying would work though --Justin King, School District of Superior Web Coordinator (www.superior.k12.wi.us) -Original Message- From: &quo

[PHP] Variable question, yet another

2001-05-08 Thread King, Justin
Alright... here's my situation for those that didn't read my string of messages yesterday.. (plus a bit more background information as to why I'm doing this) I'm writing an engine for a content managing system. Part of the system is a menu builder. I use 2 tables, (this is a mysql database) me

RE: [PHP] Variable question

2001-05-07 Thread King, Justin
I'm trying to get around having to do that, I don't know regular expressions so it makes it difficult :( -Justin -Original Message- From: "John Vanderbeck" <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 1:21 PM To: King, Justin; [EMAIL PROTECTED] Subject: R

RE: [PHP] Variable question

2001-05-07 Thread King, Justin
I understand that, but that's what I'm trying to get around doing. -Justin -Original Message- From: CC Zona <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 1:24 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Variable question In article <[EMAIL PROTECTED]>, [E

RE: [PHP] Variable question

2001-05-07 Thread King, Justin
A simple eval($mysqldata) isn't going to do it though since the string is "Your username is $userdata["username"]"; it'll just spit a parse error. I've already tried that -Justin -Original Message- From: "Jack Dempsey" <[EMAIL PROTECTE

RE: [PHP] Variable question

2001-05-07 Thread King, Justin
Here let me flesh this out a bit more Consider the query "SELECT datafield FROM myTable WHERE id=1"; This would return "My username is $userdata["username"]"; I want to then output what the database returns, and have php evaluate my variables. -Justin -- PHP General Mailing List (http://www

RE: [PHP] Variable question

2001-05-07 Thread King, Justin
al Message- From: "Jack Dempsey" <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 12:55 PM To: King, Justin; [EMAIL PROTECTED] Subject: RE: [PHP] Variable question you can do it a couple ways... echo "my user name is " . $user_data["username"]; or echo "my u

[PHP] Variable question

2001-05-07 Thread King, Justin
How can I evaluate a variable in a string? For example if I have a string defined as "my user name is $user_data["username"]", how do I echo that string and have php evaluate $user_data["username"]. Thanks in advance.. -Justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Quick one...

2001-04-03 Thread Mike King
SELECT.ORDER BY LastName; Brandon Orther wrote: > > Hello, > > How do I alphabetize the out put of my data base? > > The field would be LastName > > Brandon > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-ma

[PHP] Porting ASP code to PHP

2001-04-02 Thread Mike King
Hey all, I am an applications programmer for a mid-sized ASP. Recently, I have been given the task to take our existing e-commerce application written in ASP, and re-write it in PHP. We did a risk analysis study of the pros and cons of using PHP for this application, and everyone agrees that PHP

Re: [PHP-I18N] about PHP-i18n

2001-02-07 Thread Brian King
Well, I thought it was a great list. I got a fantastic deal on 100 million fresh email addresses and I'm already a millionaire just by working at home :-) Seriously, though, I was about to unsubscribe. It would be great if the list could turn into sth valuable. Does anyone know anything about php