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 message

[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

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

2002-12-19 Thread Seabird
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

[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 ?php if ($submit) { $db =

[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)

Re: [PHP-DB] forum test

2002-11-11 Thread Seabird
); document.returnValue=false; } } file://-- html body bgcolor=#FF text=#00 onLoad=checkBrowser(4.0,1,2,4.0,1,2,2,'www.someplaceelse.com','Goto%20to%20 some%20other%20location');return document.returnValue /html -Original Message- From: Seabird [EMAIL PROTECTED] To: [EMAIL

[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

Re: [PHP-DB] forum test

2002-11-06 Thread Seabird
:1036610707.1915.12.camel;joboo.tic.toshiba.com... I'm using Mozilla. I dont see the word 'forum' I guess your onChange=loadIframeJumpMenu doesnt work ? Or the type of javascript your using isnt supported by Mozilla. BTW the nedstat failed to connect on first try. On Wed, 2002-11-06 at 12:25, Seabird

[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] Re: cookie trouble

2002-11-01 Thread Seabird
have done 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;vliegt.nl] Sent: Thursday, October

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:20021101151508.26292.qmail

[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

Re: [PHP-DB] killing cookie

2002-11-01 Thread Seabird
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 Message- From: Seabird [mailto:jacco;vliegt.nl] Sent: Friday

[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

[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 in message news:20021031165410.94762

[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

[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

[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: ?php if(isset($_POST['submit'])) { // if form has been submitted /* check they filled in what they were supposed to and authenticate */

[PHP-DB] Re: losing my session variables

2002-10-29 Thread Seabird
;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 PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi everyone

[PHP-DB] Re: losing my session variables

2002-10-29 Thread Seabird
;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 PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi everyone

[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

[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

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: ?PHP $db=test; $table=airline_a; if (! $link) die( couldn't connect); mysql_select_db($db) or die (won't open test:.mysql_error() ); $db_res=mysql_list_dbs($link);

Re: [PHP-DB] localhost versus remote

2002-10-27 Thread Seabird
;thermonuclear.org... That's some nasty code Two things: 1. What is $ton in your query? 2. Change your mysql_query row to this: $result = mysql_query($query) or die(MySQL Error: .mysql_error().brSQL: $query); So when your query dies, you'll know why. Peter On Sun, 27 Oct 2002, Seabird wrote

Re: [PHP-DB] localhost versus remote

2002-10-27 Thread Seabird
, Seabird wrote: sorry for my furry message before. I search a DB in multiple search fields and my result code looks like this: ?PHP $db=test; $table=airline_a; if (! $link) die( couldn't connect); mysql_select_db($db) or die (won't open test:.mysql_error() ); $db_res

Re: [PHP-DB] localhost versus remote

2002-10-27 Thread Seabird
INVALID. Notice no 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 On Sun, 27 Oct 2002, Seabird wrote: My error

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: form method=GET action=aviation/result.php

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

2002-10-16 Thread Seabird
sly 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: Tuesday, October 15, 2002 12:47 PM To: [EMAIL PROTECTED] Subje

[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

[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 everyone, I must say that

[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 ?PHP 2cookie 3 ? 4 HTML 5 HEAD etc. Jacco Steve Dodkins [EMAIL PROTECTED] wrote in message

[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] 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] 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