Search found 12 matches

by peterr
Fri Oct 21, 2011 4:16 pm
Forum: CSS / Styling
Topic: image has border
Replies: 20
Views: 7286

Re: image has border

I have a site which is XHTML valid and I have used the border="0" attribute.
by peterr
Sat Oct 15, 2011 10:43 am
Forum: PHP
Topic: Login system and user profile
Replies: 8
Views: 1758

Re: Login system and user profile

Can I use your login script and come back for help?
by peterr
Fri Oct 14, 2011 2:31 pm
Forum: PHP
Topic: Login system and user profile
Replies: 8
Views: 1758

Re: Login system and user profile

I just found something: In my login script there's a line that says that if the username and password are true, the user gets linked to profile.php. Now, I've found a solution on the PhpAcademy forum. Instead of linking to the profile.php, I can link to profile.php?uid=' . $id. Well, I don't have a ...
by peterr
Fri Oct 14, 2011 1:29 pm
Forum: PHP
Topic: Login system and user profile
Replies: 8
Views: 1758

Re: Login system and user profile

I understand, but do you also know how to make this login work with uid? The first thing I need to do is to check the username and password with: session_start (); $username = $_POST["username"]; $password = $_POST["password"]; What should I add to my code to login to the right a...
by peterr
Fri Oct 14, 2011 11:11 am
Forum: CSS / Styling
Topic: image has border
Replies: 20
Views: 7286

Re: image has border

If you don't want borders around the images you can try this: <img src="url/your image" border="0"><img> You just add border="0" just after the img src="" and it should work. I had the same problem with IE. Purple borders appeared around all the images, but wh...
by peterr
Fri Oct 14, 2011 11:03 am
Forum: PHP
Topic: Login system and user profile
Replies: 8
Views: 1758

Login system and user profile

Hi guys, I'm trying to let my login script work with the amazing user profile script made by Jacek. I'm trying to call the $user_info = fetch_user_info($_GET['uid']); in my login.php to grab data about the user from the init.inc.php. BUT, it says: Notice: Undefined index: uid in D:\Program Files\xam...
by peterr
Thu Oct 13, 2011 5:11 pm
Forum: Suggestions
Topic: Login script compatible with user profiles
Replies: 1
Views: 832

Login script compatible with user profiles

Hi, Can you please make a tutorial on how to make a login script compatible with the user profiles tutorial? I'm working on a new social network and I've succesfully created user profiles, but now I need to know how to let the login work. Let's say, my user id is 23. When I login, I have to be redir...
by peterr
Thu Oct 13, 2011 5:05 pm
Forum: Feedback
Topic: Download
Replies: 2
Views: 2274

Download

Hi,

Why can't we download the scripts (for free)? It's very irritating to copy each line of code during the tutorials.

Regards,
Peter
by peterr
Wed Oct 12, 2011 9:57 pm
Forum: Tutorials
Topic: Use profile script isn't working
Replies: 9
Views: 2166

Re: Use profile script isn't working

I'm confused!!!

One last question, how can I let the uid variable check the username instead of the user id. So, the url is going to be mysite.com/profile.php?uid=peter?

Thanks in advance!

Peter
by peterr
Wed Oct 12, 2011 9:33 pm
Forum: Tutorials
Topic: Use profile script isn't working
Replies: 9
Views: 2166

Re: Use profile script isn't working

Thanks mate.

I copy everything you do in the tutorial. In the tutorial videos you're using AS, so that's the reason I'm using it too. After all, you're the teacher and I have to listen to you :mrgreen:
by peterr
Wed Oct 12, 2011 9:25 pm
Forum: Tutorials
Topic: Use profile script isn't working
Replies: 9
Views: 2166

Re: Use profile script isn't working

I made it work, thanks. I had made a mistake with the paths. The next question is: I get the following error: Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in D:\Program Files\xampp\htdocs\userprofile\core\inc\user.inc.php on line 27 Below this error i can see the fi...
by peterr
Wed Oct 12, 2011 8:05 pm
Forum: Tutorials
Topic: Use profile script isn't working
Replies: 9
Views: 2166

Use profile script isn't working

Hi guys, I just finshed the two parts, and the video shows that an array is getting displayed once the scripts of both parts are created, but instead of seeing an array, I see error. These are the errors I get when I open the user_list.php: Warning: include(D:\Program Files\xampp\htdocs\userprofile\...