Search found 37 matches
- Wed Oct 26, 2011 1:35 pm
- Forum: Javascript
- Topic: Nice effect, how is this done?
- Replies: 2
- Views: 1138
Nice effect, how is this done?
I browsed a couple of nice websites recently and I'm curious how those effects are created, I'm not even sure what kind of language they are written in, but javascript looks like a good bet so here I am in this forum :P Yeah, I'm the outdated guy who thinks the only way to make something move/animat...
- Tue Sep 27, 2011 11:08 pm
- Forum: PHP - Code
- Topic: how to send mail from localhost
- Replies: 2
- Views: 766
Re: how to send mail from localhost
Ah, forgot to mention that, I'm on Mac os x, Lion to be exact.
Regards
Regards
- Tue Sep 27, 2011 4:01 am
- Forum: PHP - Code
- Topic: how to send mail from localhost
- Replies: 2
- Views: 766
how to send mail from localhost
$to = "siko@gmail.com; $subject = "Testing"; $message = "Test"; $headers = 'From: noreply@ siko.com' . "\r\n" . 'Reply-To: noreply@ siko.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); This is my code for sending ...
- Wed Aug 31, 2011 12:36 am
- Forum: PHP - Theory and Design
- Topic: handling error messages/pages
- Replies: 3
- Views: 4450
Re: handling error messages/pages
That'd work well for me I believe 
Very informative tutorial! Thanks a bunch!
Very informative tutorial! Thanks a bunch!
- Mon Aug 29, 2011 3:19 am
- Forum: PHP - Theory and Design
- Topic: handling error messages/pages
- Replies: 3
- Views: 4450
handling error messages/pages
What is a good way of handling various error messages on the website? For example, 1. my site allows user login, if user keys in wrong username/password, display error message, prompt to re-login 2. session exceeds 30mins of inactivity, auto logs out, and user comes back to the computer and tries to...
- Tue Aug 16, 2011 2:13 am
- Forum: PHP - Code
- Topic: How can I achieve something like this
- Replies: 3
- Views: 326
Re: How can I achieve something like this
Thanks Celauran, .htaccess was something new for me, I bumped around a little and was able to get something simple like this working, to redirect all http://www.mydomain.com to just mydomain.com with RewriteCond %{HTTP_HOST} ^www\.mydomain\.com$ [NC] RewriteRule ^(.*)$ http://mydomain.com/$1 [R,L] H...
- Mon Aug 15, 2011 12:32 pm
- Forum: PHP - Code
- Topic: How can I achieve something like this
- Replies: 3
- Views: 326
How can I achieve something like this
Hi, I have seen this somewhere, but I've lost the link to it. My website has users who have filled out their personal particulars for display when others search for them. Picture something like Facebook, there is a public viewable profile page, displaying only the information which each member choos...
- Mon Aug 15, 2011 11:13 am
- Forum: PHP - Theory and Design
- Topic: Database design with 3 kinds of user
- Replies: 8
- Views: 7257
Re: Database design with 3 kinds of user
Ah yes, that was my mistake, I meant to say 1 table - if i use 1 table to store everything, I'd need to select the users from the staff for every search.
Gave it some thought, a nice idea! Gonna try that out, thanks!
Gave it some thought, a nice idea! Gonna try that out, thanks!
- Mon Aug 15, 2011 1:46 am
- Forum: PHP - Theory and Design
- Topic: Database design with 3 kinds of user
- Replies: 8
- Views: 7257
Database design with 3 kinds of user
Hi, I have a website with 3 different types of accounts, 1. Super-Admin (Me, all privileges for website) 2. Admin (Employees for my company, who can verify/accept/delete/modify user accounts) 3. Users (Sign up and put up photos, personal particulars, hobbies etc.) Users are searchable, I can search ...
- Sun Aug 07, 2011 11:29 am
- Forum: General Discussion
- Topic: Apache + MySql + PHP Question
- Replies: 6
- Views: 1014
Re: Apache + MySql + PHP Question
Hey genix and calif, Guys, I never thought I could get such joy from reading a forum reply, but reading your replies ABSOLUTELY made my day :) Been looking all over the place for answers, spending hours trying to piece everything together. Understanding those made my setup of AMP actually make sense...
- Sat Aug 06, 2011 8:37 am
- Forum: General Discussion
- Topic: Apache + MySql + PHP Question
- Replies: 6
- Views: 1014
Apache + MySql + PHP Question
Hi all, I'm a beginner to coding webpages. Not sure where I should be posting this, but I saw this article "Fundamental PHP Know-How" in this forum, so I figured to ask here. For the past few months, I've been doing my php development by editing code, then ftp-ing the php files onto my hos...
- Fri Sep 03, 2010 1:17 pm
- Forum: PHP - Code
- Topic: file storage question
- Replies: 7
- Views: 930
Re: file storage question
Thanks for those tips! I tried to be as careful as possible, checking my paths and all, there is pretty much nothing wrong I can find. I found something interesting though, I ran a few tests and got the results below: my web root directory is "/domain_name/public_html/" i created an image ...
- Fri Sep 03, 2010 12:52 am
- Forum: PHP - Code
- Topic: file storage question
- Replies: 7
- Views: 930
Re: file storage question
suppose, root directory "/var/www/web/" i have image folder as "/var/www/images/" at www.mydomain.com/index.php, i do: <img src="../images/1.jpg" /> the image does not display, seems that it doesn't allow me to go up above the web root directory, with ../ any i doing so...
- Wed Sep 01, 2010 5:40 am
- Forum: PHP - Code
- Topic: file storage question
- Replies: 7
- Views: 930
Re: file storage question
Wow, that's brilliant 
Thank you so much, I'll go try that out!
Thank you so much, I'll go try that out!
- Wed Sep 01, 2010 4:47 am
- Forum: PHP - Code
- Topic: file storage question
- Replies: 7
- Views: 930
Re: file storage question
Thanks for your reply! I'll give an example: Jake has an account, he uploads his certs and resumes. Jake should be able to manage his own certs and resumes, view them, delete them etc, when he logs into his account. Jake should not be able to see other account holder's uploaded certs and resume. Emp...