Jump to content

robert_gsfame

Members
  • Posts

    876
  • Joined

  • Last visited

Everything posted by robert_gsfame

  1. <?php $day = $_POST['day']; ------------->09 $month = $_POST['month']; ---------->02 $year = $_POST['year'];--------------->2009 $num= "/".$day."/".$month."/".$year; ---->09/02/2009 //echo $num; explode("/",$num); echo $num[0]; echo $num[1]; echo $num[2]; ?> can anyone help me how to get result like this "9022009"
  2. I just wonder how much is the maximum file size that usually allowed for users to download their photograph or image
  3. Dear phpfreaks.. I just want to acquire more information regarding maximum file size that usually allowed for users to upload their images. Thx
  4. Does anyone know how to create a small note (pop-up) when hovering mouse on some image or link? I think i must use javascript...can anyone help or giving the code
  5. I have put my database connection inside configuration.php...Let say "First Database" is my database name. Then when i want to use the connection to "First Database", i use "include_once('configuration.php') My question is : is it possible to insert the same data into two tables at the same time while each table is located inside different database let say "First Database" and "Second Database" ?
  6. one more thing Thorpa....i have read some articles and it sounds simple....what i need is to create a php page and schedule it using cron tab to generate that php script that i have created inside my php page.... Is that correct Thorpa???
  7. okay..thanks for your info..i think i have to find several tutorials and learn.. ;D ;D
  8. i dont know how to do it...Can you explain it to me.. and i actually don't really get what you mean
  9. Actually i have my site and i wish to inform all members about new products offered automatically so that i don't need to put more efforts in sending manually this newsletter or using bulk mailer which is usually known as SPAM..(i have a thousand members and this must be hard to do this manually and also wasting my time) Please help me about this...where can i learn those things....?
  10. Does anyone know how to create that or may be you can give me a link where can i learn about this ?
  11. I can't put the subject as i don't know exactly how to call this.. Assume that i have created my own career site, then user (job seeker) named "JAMES" should check at least one type of career that they wish to get in the future... and let say several companies have posted their vacancies related to what JAMES has chosen before..how does the newsletter regarding those vacancies automatically sent to JAMES?? Is it manually sent by the owner of the site or automatically sent?? If it's automatically sent, then how they do it?? please explain it to me Thank you in advance
  12. have u tried mysql_fetch_row and looping it
  13. use mysql_num_rows to check whether email or username has been taken by other users $username=$_POST['username']; $query="SELECT * FROM yourdatabasetable WHERE usernamecolumn='$username"; connect this query and use mysql_num_rows $count = mysql_num_rows($query) if($count==1){echo "Username has been used";}else{ you can insert it into your database hope it could help
  14. Can i kill cookie when user click on "login as other user" ?
  15. mm...i don't really get what you need, this is just a guess.. What you only have to do is to get your database connected, using mysql_connect or whatever then after that you have to create what is called SESSION for each user SO my suggestion, create your database first using mysql and create a connection inside your config.php then include it in your register.php ... once user has put down his username and password correctly then start creating a SESSION so that each user has his own page
  16. the problem is that phpbb user table only contains of username and password while my user table contains more complex information such as telephone number and other things and those column have been set NOT NULL i really confused with this LOL ..........
  17. hi, i have my phpbb installed and still new with it so there is a lot of questions come into my head and i think you can solve this. this is what i want to ask, i actually have my site already and i want to add forum to make it more fun..but what i know is phpbb has its own registration page, and therefore users have to registered although they have done with it once...how you solve this??? Please give me some link where i can learn more about integrating my php page and phpbb
  18. hello...i've installed my phpbb and still learn on how to use it but there are several questions appeared and i need the answer from you..can anyone help me or give me some link regarding phpbb these are my questions: 1. how to put my phpbb forum into my php page for example suppose i click on the link from one of my php page forum then it goes to my phpbb page 2. can i use all my registered users ("SESSION") and give the authority to access that forum only for them what i mean is that registration will use php page, let say index.php but later they still can access phpbb forum i need your cool answers please!!
  19. i want to get all username and password shown inside textbox by using cookies can anyone help me? set cookies once checkbox checked and login button was pressed and found correct setcookie("cookname", $_POST['username']); setcookie("cookpassword", $_POST['password']); then i tried with this: $username = $_POST['username']; $password = $_POST['password']; if(isset($_COOKIE['cookname']) && isset($_COOKIE['cookpassword'])){ $username==$_COOKIE['cookname']; $password==$_COOKIE['cookpassword']; } help me with the correct code please thanks
  20. i just want to know is it okay to run phpbb with XAMPP....still not sure as i don't know much about phpbb..what i know is that phpbb usually used to create discussion forum then i only want to know whether i can build a small discussion forum using phpbb ..anyway i think i need more information about phpbb ...i'l check it first then
  21. what i mean is that i have the value already, let say i've taken it from the database WHERE USERNAME='BLABLA' $take = mysql_fetch_array xxxxxxxxxxxxxxxxxxxxxxx $data = $take['country'] then how to put the value of $data into the combobox???
  22. Hello freaks, i'm a newbie with php and still learning to develop my php skill...what i wanna know is that possible to connect phpbb with php page then how bout the database? is that mean i will have two database at the same time? one more question.. when installing the phpbb, is it okay to install it together with XAMPP?? anyway this question seems stupid but will be important for me THanks !!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.