[PHP-DB] file upload array problem

2002-12-20 Thread Seabird
Hi everyone, every time I try to upload a picture I get the same problem in return. First of all, it's not being uploaded (but this is for later concern I'm afraid). Trying to display the info of the (not)uploaded file should be done with: $_FILES['picture']['name'] but every time I run this the

Re: [PHP-DB] Newbie PHP/MySQL question

2002-12-20 Thread Seabird
LOL, Jason, you actually had me go back to the first post to re-read it for a link or some code... good skills there Jason, Jacco -- http://seabird.jmtech.ca Attitude is Everything! But Remember, Attitudes are Contagious! Is Yours worth Catching "Jason Wong" <[EMAIL PROTECTED]> wrote in mess

Re: [PHP-DB] picture into mysql (file address)

2002-12-19 Thread Seabird
gt; } else { > > $errmsg = "copying $newFileName succeeded"; > > } > > } > > } > > On Wednesday, December 18, 2002, at 02:20 PM, Seabird wrote: > > > exec("cp $_POST[picture] > > //localhost/seabird.jmtech.ca/OTF.com/images/$_POST[picture_name]"); > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] picture into mysql (file address)

2002-12-18 Thread Seabird
Hi everyone, I have been struggeling with this for some time know and don't know where it goes wrong. I want to upload pictures into a folder AND store their path into MySQL. I used a joe's auto tutorial but can't get it to work. All the information is put in correctly but not the picture. Please

[PHP-DB] pictures into MySQL

2002-12-16 Thread Seabird
Hi everyone, I know that inserting actual pictures into a MySQL DB is not the best solution, but since I know the size is going to be limited I want to do it anyways. How do I upload a picture into a DB? (what type of table etc.). Jacco -- http://seabird.jmtech.ca Attitude is Everything! But Rem

[PHP-DB] Re: upload data to MySql

2002-11-14 Thread Seabird
Thanx, I found out I forgot to pass it to my db. Jacco -- http://seabird.jmtech.ca Attitude is Everything! But Remember, Attitudes are Contagious! Is Yours worth Catching "David Robley" <[EMAIL PROTECTED]> wrote in message news:MPG.183f2f6ec46a84169897c8@;news.php.net... > In article <[EMAIL

[PHP-DB] upload data to MySql

2002-11-13 Thread Seabird
Hi everyone, I don't get my upload to work properly. It's a tutorial of the web, but it doesn't function (unless I made a mistake). Please help me... I have a form passing on 5 fields (text for testing), name: year, make, model, price, picture and submit to PHP_SELF \n"; echo "make: $make\n"; ech

[PHP-DB] small database

2002-11-12 Thread Seabird
Hi everyone, I'm creating a sample site for a company that does aircraft sales. I use a MySQL DB to store all the info of the available aircraft. Now, I would like to store pictures directly inside that same table, so that on the "details" page, it would provide a picture out of (for example) Fiel

Re: [PHP-DB] forum test

2002-11-11 Thread Seabird
Thanx for the feedback. I was still working on the NN4 compatibility, and had that message there until I got it solved. As you can see on my site, most things are not near completion. Thanx, for the script, I'll use it if my NN4 compatibility fales. Jacco -- http://seabird.jmtech.ca Attitude is

Re: [PHP-DB] forum test

2002-11-06 Thread Seabird
d to connect on first try. > > > > On Wed, 2002-11-06 at 12:25, Seabird wrote: > > Hi everyone, I just uploaded my forum and would like to have it field tested > > by everyone. It'll prob still have some bugs in there. > > http://seabird.jmtech.ca > > go to

[PHP-DB] forum test

2002-11-06 Thread Seabird
Hi everyone, I just uploaded my forum and would like to have it field tested by everyone. It'll prob still have some bugs in there. http://seabird.jmtech.ca go to website and then click on forum. please ignore the login in the left top for now, Jacco -- http://seabird.jmtech.ca Attitude is Ever

[PHP-DB] security check

2002-11-03 Thread Seabird
Hi everyone, on my site I created a login which is supposed to be secure. I'm not familiar with how to surpass signups, but was wondering if people can see if they can get my page to view without signing up. The page that is supposed to be secured is the about me index. (the rest is still open).

Re: [PHP-DB] killing cookie

2002-11-01 Thread Seabird
ckman" <[EMAIL PROTECTED]> wrote in message news:20021101132453.N64513-10@;thermonuclear.org... > You are doing it wrong then. Are you checking $_SESSION['username'] or > $_COOKIE['user'] to determine if the cookie is being deleted? Or looking > in your c

Re: [PHP-DB] killing cookie

2002-11-01 Thread Seabird
Is Yours worth Catching "Josh Johnson" <[EMAIL PROTECTED]> wrote in message news:004101c281d3$55b80100$8b00a8c0@;manpa... > I'm pretty sure you just have to set a cookie to an empty string to > delete it, i.e., no expiration time > > -- Josh > > -Original

[PHP-DB] killing cookie

2002-11-01 Thread Seabird
Hi everyone, I don't understand why my cookie won't be removed. I set my cookie: setcookie('user',$_SESSION['username'],time()+36000); setcookie('pass',$_SESSION['password'],time()+36000); I kill my cookie: setcookie('user','',time()-60); setcookie('pass','',time()-60); but it doesn't

Re: [PHP-DB] Re: cookie trouble

2002-11-01 Thread Seabird
Oops, lights were on, but nobody home sorry, register_globals was set to off. Works again. Jacco -- http://seabird.jmtech.ca Attitude is Everything! But Remember, Attitudes are Contagious! Is Yours worth Catching "Seabird" <[EMAIL PROTECTED]> wrote in message news:2002

Re: [PHP-DB] Re: cookie trouble

2002-11-01 Thread Seabird
> Try something like > $_COOKIE_VARS[user] ... or $COOKIE_VARS[user] ... dunno exactly ... > > -Original Message- > From: Seabird [mailto:jacco@;vliegt.nl] > Sent: 01 November 2002 10:04 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] Re: cookie trouble > > &g

Re: [PHP-DB] Re: cookie trouble

2002-11-01 Thread Seabird
e so). When they log back in.. You convert the > password to an md5 hash and compare that value against the stored md5 > password. If a match - log the user in. If not - kick an error page. > > Aaron > > > -Original Message- > > From: Seabird [mailto:jacco@;v

[PHP-DB] Re: cookie trouble

2002-10-31 Thread Seabird
I got this fixed, but how do I reverse a md5 encryption? this way I can log people in again. Jacco -- http://seabird.jmtech.ca Attitude is Everything! But Remember, Attitudes are Contagious! Is Yours worth Catching "Seabird" <[EMAIL PROTECTED]> wrote

[PHP-DB] cookie trouble

2002-10-31 Thread Seabird
Hi everyone, I'm having some trouble configuring a cookie (first time doing this): I have a login-script and this sets a session cookie. What I really want is to pass a cookie so that returning-people don't have to log in every time, but I'm not sure how to do what part is passing on the cookie (I

[PHP-DB] posted my problem online

2002-10-30 Thread Seabird
Hi everyone, I keep bumping into my problem with my session variables. Maybe a online example helps. I created a account: http://seabird.jmtech.ca username=forum password=forum I placed a array under my navigation on the left and one inside my welcome page (that onloads.) As you can see, it ha

[PHP-DB] Re: losing my session variables

2002-10-29 Thread Seabird
in message news:20021030002059.9083.qmail@;pb1.pair.com... > You only need to add session_start() in your script before storing your data > into the $_SESSION array. > Without session_start(), no session is started by php... > > Regards, > P.E. Baroiller > > "Seabi

[PHP-DB] Re: losing my session variables

2002-10-29 Thread Seabird
21030002059.9083.qmail@;pb1.pair.com... > You only need to add session_start() in your script before storing your data > into the $_SESSION array. > Without session_start(), no session is started by php... > > Regards, > P.E. Baroiller > > "Seabird" <[EMAIL

[PHP-DB] losing my session variables

2002-10-29 Thread Seabird
Hi everyone, I use a login-script, but for some reason I keep losing my $_SESSION variables. Can Anyone tell me why? Here's my login script: please fill in the required fields. '; } // authenticate. if(!get_magic_quotes_gp

[PHP-DB] new to cookies

2002-10-29 Thread Seabird
Hi everyone, I created a login on my page that handles with a session. I also would like to add a cookie so that people don't have to sign in every time they visit my page, but I have no clue how to create it. Is there anyone out there willing to help? my login script:

[PHP-DB] newbie thank you

2002-10-28 Thread Seabird
Hi everyone, Thanx for the help on my last question (localhost vs remote). Although Peter gave me a hard time, his solution worked. Thank you for putting up with my ingorant newbie behaviour. Jacco -- http://seabird.jmtech.ca Attitude is Everything! But Remember, Attitudes are Contagious! Is You

Re: [PHP-DB] localhost versus remote

2002-10-27 Thread Seabird
I also provide my searchform here. The problem I have is that everything works when run on my localhost (which is my testing location before upload. I have the exact same code local and remote. My searchform should pass the code. here it comes:

Re: [PHP-DB] localhost versus remote

2002-10-27 Thread Seabird
ot;AND" statements between fields? > > I won't publicly flog you, but please don't respond. I believe this list > is for help with more advanced issues, not "how to properly write an SQL > command and troubleshoot your code for you." > > Peter > >

Re: [PHP-DB] localhost versus remote

2002-10-27 Thread Seabird
ot;MySQL Error: ".mysql_error()."SQL: $query"); > >So when your query dies, you'll know why. > > Peter > > On Sun, 27 Oct 2002, Seabird wrote: > > > sorry for my "furry" message before. > > > > I search a DB in multiple search

Re: [PHP-DB] localhost versus remote

2002-10-27 Thread Seabird
> > So when your query dies, you'll know why. > > Peter > > On Sun, 27 Oct 2002, Seabird wrote: > > > sorry for my "furry" message before. > > > > I search a DB in multiple search fields and my result code looks like this: > > > > &

Re: [PHP-DB] localhost versus remote

2002-10-27 Thread Seabird
sorry for my "furry" message before. I search a DB in multiple search fields and my result code looks like this: your search returned ".$total." matches"; print "\n"; print "IcaoName (Location)Country"; while($row = mysql_fetch_assoc($result)){ print "\n" ."" . $row['Field1'] . "\n"

[PHP-DB] localhost versus remote

2002-10-27 Thread Seabird
Hi everyone, I'm using a MySQL DB and a search form. Eveery thing works fine, but when I upload, it has a Error in query. I checked all the little details but can't find out why? Any ideas are welcome. Jacco -- http://seabird.jmtech.ca Attitude is Everything! But Remember, Attitudes are Contagio

[PHP-DB] Re: GOOD PEOPLE EXCIST

2002-10-16 Thread Seabird
Those of you wondering: the page does not have any content yet. the catogories work and the guestbook is there. That's it for now, still working on the rest. Jacco "Seabird" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi

[PHP-DB] GOOD PEOPLE EXCIST

2002-10-16 Thread Seabird
Hi everyone, I must say that my faith in mankind has not been disapointed. My cry for help has been answered by several people offering to help me out. I won't name names in here (because they might be flooded with requests) but for those of you who helped me out: THANK YOU! Now that I have no

Re: [PHP-DB] desperate need for MySQL host

2002-10-16 Thread Seabird
.. > If you seriously need it.. Contact me.. I will set you up.. Its always > nice to be able to something nice for someone once in a while.. What > goes around comes around.. :) > > James > > -Original Message- > From: Seabird [mailto:[EMAIL PROTECTED]] > Sent: T

[PHP-DB] desperate need for MySQL host

2002-10-15 Thread Seabird
Hi everyone, as a pilot in difficult times, I'm not in the position to pay for my webhosting. My solution that I have right now is less then desirable, as I have either PHP support and no ads, or PHP and MySQL (limit one DB) with pop-up ads. I'm looking for a place that is willing to provide me

[PHP-DB] hotlink MySQL

2002-10-15 Thread Seabird
Is it possible to "hotlink" a MySQL database? my site location is different then my MySQL location. (or at least a site). Is it possible to use the database for both sites or should I set up the database at both locations? The reason for asking is that one of the locations doesn't provide MySQL

[PHP-DB] Paying host is better

2002-10-15 Thread Seabird
Hi everyone, I know the answer: get a payed host. question, I'm looking for a FREE MySQL provider. I already have PHP support, just no MySQL, so anything will do now. Thank you, Jacco -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Set Cookies

2002-10-15 Thread Seabird
Because there is no complete code, I'm not sure, but I think: you already have code above the cookie. The cookie has to come before any other: e.a. 1 4 5 etc. Jacco "Steve Dodkins" <[EMAIL PROTECTED]> wrote in message 416B83EEF0C5D4119731000255589B77A3BC67@ebmnt01">news:416B83EEF0C5D411