[PHP] Can a WHILE be done inside an array?

2001-03-31 Thread Kenneth R Zink II
'make' => array('Make','12','keyword','1:30','select','ChevroletGMCIsuzuOldsmobile','text'), Can someone please give me some pointers. =) Thanks. Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '

[PHP] Fopen help

2001-03-22 Thread Kenneth R Zink II
So far all I can get it to do is the default response. Can someone point out what I'm doing wrong or tell me how to see what the contents of a resource id is please? Old URL = http://www.s-series.org/htm/firestorm/firestorm.htm urlcheck = Resource id #4 Fopen Did Not Work New URL = http://www.s-

Re: [PHP] fopen to validate a URL

2001-03-15 Thread Kenneth R Zink II
tp://www.warrenbowley.com","r") - Bad file descriptor in /var/www2/html/members/datacopy.php on line 73 fp = URL IS NOT VALID New URL = http:// Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!! http:/

[PHP] fopen to validate a URL

2001-03-15 Thread Kenneth R Zink II
How would I use FOPEN to validate a URL? here is what I already have and it's not working properly. $url=$row[url]; echo "Old URL = ".$url.""; $fp = @fopen($url,"r"); if ($fp){ echo "Valid URL"; }else{ echo "URL IS NOT VALID"; $url=&qu

[PHP] exist?

2001-03-14 Thread Kenneth R Zink II
How would I go about checking to see if a file exist from php? I didn't find anything on php.net when I did a search for exist. basically, I'm trying to accomplish this. if $file exist { do something; }else{ echo "$file doesn't exist"; } thanks in advance. Ken

[PHP] e-mail varification problems.

2001-03-14 Thread Kenneth R Zink II
a look at the results, check out http://www2.ripcon.net/members/datacopy.php I'm stumped. Can someone shed light on this? Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!! http://www.s-series.org/htm/windstorm/

Re: [PHP] Problem with apostrophes!!

2001-03-12 Thread Kenneth R Zink II
Ok, I'm pretty sure I need to use the "addslashes" function, but I'm not sure how to implement it. The 2 variables that I would need to addslashes are $sire and $dam. can someone please help me, this is new to me. Thanks. Kenneth R Zink II [EMAIL PROTECTED]ICQ#

[PHP] Problem with apostrophes!!

2001-03-12 Thread Kenneth R Zink II
d, it just accepted it. Help!! I need to know A.S.A.P. Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 GMC S-15 Ext. Cab (Hurricane) ...BBC 524 being built !!! http://www.s-series.org/htm/windstorm/project-windstorm.htm '85 Chevy S-10 Blazer (FireStorm) ...Soon to be 3.4L

[PHP] Implode?

2001-02-25 Thread Kenneth R Zink II
nd move the old data to the new site. Thanks. Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 GMC S-15 Ext. Cab (Hurricane) ...BBC 524 being built !!! http://www.s-series.org/htm/windstorm/project-windstorm.htm '85 Chevy S-10 Blazer (FireStorm) ...Soon to be 3.4L SFI !

[PHP] I'm confused about Regular Expressions.

2001-02-21 Thread Kenneth R Zink II
I was just reading at DevShed on how to use Regular Expressions, but now I'm even more confused. Can someone please explain how I would use a REGEX to determine in and uploaded file is a .gif or .jpg file? Thanks. Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 2.8L TB

[PHP] How do I limit a file size?

2001-02-20 Thread Kenneth R Zink II
I want to limit uploaded files to $250k. The incoming files should be images, so I also want to limit the files to .gif or .jpg files. How would I go about doing this? Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the

[PHP] No result - need advice.

2001-02-20 Thread Kenneth R Zink II
_array($result); echo "id = ".$id.""; $pic1 = $id.$picture1_name; $pic2 = $id.$upicture1_name; echo "pic1"; if($picture1 == 'none'){ $pic1="na.gif"; } echo $pic1.""; echo "pic2"; if($upicture1 == 'none'){ $pic2=

[PHP] Can PHP execute a refresh to a new page?

2001-02-16 Thread Kenneth R Zink II
Can PHP execute a refresh to a new page? If so, how? Thanks. Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!! http://www.s-series.org/htm/windstorm/project-windstorm.htm '85 3.4L Carbed Chevy S-10 Blazer

[PHP] how do I do file maintenance with PHP?

2001-02-14 Thread Kenneth R Zink II
ce for any help. Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!! http://www.s-series.org/htm/windstorm/project-windstorm.htm '85 3.4L Carbed Chevy S-10 Blazer (FireStorm) ...Soon to be 3.4L SFI DIS !!! http://www.s

[PHP] MySQL email function

2001-01-25 Thread Kenneth R Zink II
How would I go about pulling e-mail addresses from a database and sending and e-mail using that list? Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!! http://www.s-series.org/htm/windstorm/project-windstorm.htm &#x

[PHP] How do I store a pic?

2001-01-12 Thread Kenneth R Zink II
How do I store a jpg within a table? I want for a user to be able to pull a jpg from either their HD and store it in a table with some other information for a classifieds section. That way when the ad is deleted, the picture goes with it instead of remaining on my HD. Kenneth R Zink II

[PHP] newbie

2001-01-12 Thread Kenneth R Zink II
hanks. Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!! http://www.s-series.org/htm/windstorm/project-windstorm.htm '85 3.4L Carbed Chevy S-10 Blazer (FireStorm) ...Soon to be 3.4L SFI DIS !!! http://www.s