Search found 36 matches

by derek barnstorm
Sun Jun 22, 2008 7:55 pm
Forum: PHP - Code
Topic: User Profile Music Upload Help
Replies: 1
Views: 154

Re: User Profile Music Upload Help

I apologize in advance if I am not supplying enough information or if it makes no sense... Anyway, I've actually got this to sort of work, but I think I must have a path problem. All files are uploaded to the database and it is collecting the correct ID for the user but when clicking on the link to ...
by derek barnstorm
Sun Jun 22, 2008 1:56 pm
Forum: PHP - Code
Topic: User Profile Music Upload Help
Replies: 1
Views: 154

User Profile Music Upload Help

Hi, I am converting a script that will let users register with my website and have a user profile page. I want them to be able to upload a media file and have it play back from their page with something like JW Player. I've converted a piece of script and I've got the upload working, so when a user ...
by derek barnstorm
Sun Jul 01, 2007 10:25 am
Forum: PHP - Code
Topic: 2 variables, 1 input field
Replies: 2
Views: 860

Ah, right, thanks very much. I added it to this part of the script: $login_length = strlen($_POST['login']); $pass_length = strlen($_POST['pass1']); $login = $_POST['login']; $pass1 = $_POST['pass1']; $pass2 = $_POST['pass2']; $email = $_POST['email']; $displayname = $_POST['displayname']; $displayn...
by derek barnstorm
Sun Jul 01, 2007 10:06 am
Forum: PHP - Code
Topic: 2 variables, 1 input field
Replies: 2
Views: 860

2 variables, 1 input field

Hi, I am using the following script as a registration form: <?php if(basename($_SERVER[PHP_SELF])=="do_reg.inc.php") { header("Location: /index.php"); exit; } //check input for errors $login_length = strlen($_POST['login']); $pass_length = strlen($_POST['pass1']); $login = $_POST...
by derek barnstorm
Thu Jun 21, 2007 4:56 pm
Forum: PHP - Code
Topic: Splitting data into pages
Replies: 4
Views: 581

Okay, thanks very much for your replies, I'll look into everything.

Cheers,

Derek
by derek barnstorm
Wed Jun 20, 2007 4:49 pm
Forum: PHP - Code
Topic: Splitting data into pages
Replies: 4
Views: 581

Splitting data into pages

Hi, I'm afraid that I'm a complete novice and need a little help. I have been using the following script to grab blog entries from a database and display them on a page. But obviously the page gets a little too long in the end, so I wanted to modify it so that after it had displayed five pages it wo...
by derek barnstorm
Sun Mar 04, 2007 10:55 pm
Forum: Databases
Topic: Simple novice database question
Replies: 4
Views: 895

Right. Thanks a lot for the advice.

Des.
by derek barnstorm
Sun Mar 04, 2007 10:40 pm
Forum: Databases
Topic: Simple novice database question
Replies: 4
Views: 895

Okay thanks. So, can you have as many columns in a table as you like?
by derek barnstorm
Sun Mar 04, 2007 10:17 pm
Forum: Databases
Topic: Simple novice database question
Replies: 4
Views: 895

Simple novice database question

Hi, This is the first script that I am going to be working on, so forgive me for being a novice. I am going to use a form like this one: http://spacerockcity.com/add_profile.html to send the information to a database (MySQL), so I can then retrieve it and display it on a profile page for my users. M...
by derek barnstorm
Mon Jan 22, 2007 10:11 am
Forum: General Discussion
Topic: Book advice?
Replies: 21
Views: 2718

Thanks to everyone for their feedback... it should keep me going for the next year.

Cheers!

Des.
by derek barnstorm
Sun Jan 21, 2007 10:12 pm
Forum: General Discussion
Topic: Book advice?
Replies: 21
Views: 2718

Thank to all. I've installed wampserver, I'll check out xampp tomorrow. I take it, it's basically like having your own server?
And... I'm thinking of this book http://www.sitepoint.com/books/phpmysql1/ - what are your thoughts?
by derek barnstorm
Sun Jan 21, 2007 7:27 pm
Forum: General Discussion
Topic: Book advice?
Replies: 21
Views: 2718

Okay, Brilliant! A stupid question though... when creating PHP pages, can I view them without being connected to the inernet or my server? Is it all done locally?

Thanks again,

Des.
by derek barnstorm
Sun Jan 21, 2007 7:10 pm
Forum: General Discussion
Topic: Book advice?
Replies: 21
Views: 2718

Right, thanks! That's exactly the sort of thing I need to know. So I can install Apache on my computer and then install PHP and MySQL on my computer? How do I go about it?
by derek barnstorm
Sun Jan 21, 2007 4:16 pm
Forum: General Discussion
Topic: Book advice?
Replies: 21
Views: 2718

Thanks for list of books, I will check them out.

I'm just totally stuck where and how to start learning it really - I'm also obviously limited as MySQL and PHP are installed by my web host, so I can't update them myself.
by derek barnstorm
Sun Jan 21, 2007 2:55 pm
Forum: General Discussion
Topic: Book advice?
Replies: 21
Views: 2718

Okay, thanks very much for your time.

I guess I'll just jump in there and do a bit of trial and error.

Thanks,

Des.