38,019 Topics
|
|
hello, i am using the following code to write an ip and date to a database [php]require_once "configgy.php"; mysql_query("INSERT INTO lastlogin(VisIP, VisDate) VALUES(\"".$HTTP_SERVER_VARS['REMOTE_ADDR']."\", NOW(),"); [/php] I would like to call this script in another file, and everytime the script is called, have the new ip written in. liek it is … |
|
I have tried and again I cannot figure it out. Everything is working... Only the jpg, JEPG like these do not show up correctly... Can you see the mistake? If you do please spell it out for me. Much appreciated, again, puddin. Here is my form and process photo code: … |
|
Hello, When I select my images they are opening. Only the jpg will not come in clearly. If you know the code to correct this can you please tell me, Thanks puddin Here is my code: <?php include'db.php'; // get the variables from home page $password = $_SESSION['password']; $email_address = … |
|
The following code is used to set a cookie that will expire after one hour [CODE]<?php setcookie('cookieName', 'cookieValue', time()+3600, '/'); ?>[/CODE] if I want to set a cookie that should never expire, what I have to do? thanx |
|
when i use session_start() then i got error how i tackle this problem pls help me |
|
I've set the "smtp" in "Config.php" in order to receive mail to my address so that all the fields filled by user gets to me, after they press "Submit" button in my "Contact.php" Things seem to have improved a little & all I'm getting is just a "Warning message": Warning: … |
|
<?php $SearchType = $_POST["SearchPlace"]; $host= 'localhost'; $user= 'user'; $passwd= 'password'; $database= 'dbase'; $table1= 'BUS'; $table2= 'STUDENT'; $connect= mysql_connect($host, $user, $passwd); mysql_select_db($database); $pquery = "select busNo from $table1 where place like '".$SearchType."'"; $squery = "select * from $table2 where busNo like '".$pquery."'"; $run = mysql_query($squery); $num_results = mysql_num_rows($run); if (!$SearchType ) … |
|
hi. i am freasher in php. Can any one help me regarding where i can get FAQs in php. it would be a great help. Thanks |
|
I'm trying to figure out if my problem is a software vs hosting issue? I have the software on two different servers, but I'm getting 302/500server errors on the killertalent.com server. The server with the errors has the Server API setup as CGI/FastCGI: [URL="http://killertalent.com/phpinfo.php"]http://killertalent.com/phpinfo.php[/URL] The server that isn't giving errors … |
|
Hey, I've been trying to code my own news/ blogging script, by following a tutorial, but unfortunately I keep getting these mysql errors when I submit an entry, and on the page where I want it to be displayed. And I don't know how to recognize the errors just by … |
|
After bending over backwards, I managed to finally get my form validation done, which seems working perfectly well. After failing to work with e-mail, I wonder if anyone around could help me little towards e-mail so that as soon as someone presses "Submit" button, I get the entire form's message … |
|
I'm building a website for me and my friends that should include a forum and a chat. I'm developing the list of the friend but I don't know how to display wich users are online and which not. The users are autenticated with sessions variable. To be able to check … |
|
Hiya all. I have a bit of a problem Im developing an online music library I want to know if its possible to have a function for my application that when a user/member is logged in and they choose to add a track to their personal music library how can … |
|
i m seeking for good shoping cart with opensource code. any body sugest me please |
|
Can someone tell me how to get the size of the track that i am putting into the database recorded in the database [php] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>Add a Print</title> </head> <body> <?php # Script … |
|
i am using drmweaver with php-mysql. i made this page to view students' progress report but i want the login to open the students.php page and show only the report of that particular student. I've tried using filtered recordset but that doesnt seem to work. Hlp. |
|
hello, Ive been using mod_rewrite for my forum...(I use phpbb software) [URL="http://www.m-benzforum.com/.......................................-vf19.html"]http://www.m-benzforum.com/................-vf19.html[/URL] [URL="http://www.m-benzforum.com/.......................................-vt1246.html"]http://www.m-benzforum.com/..............-vt1246.html[/URL] I want to avoid a duplicate pages..so I add viewtopic.php and viewforum.php on my robots.txt file. is it right? are my page (vf...html and vt...html) still indexed on google? Thanks for help :) |
|
juz wanna know the syntax for retrieving and storing data from and to mysql database using php.... |
|
i bought a prozilla automall website and i have found a glitch in it. currently, if a member purchases a package from me that contains 5 profile listings that last for 1 month, at the end of the month they will get an email that says that their listings are … |
|
Hi all! im new here, this is my first post :lol: lol anyway, i have a php script, but im having trouble setting it up.. can somone help me with it?? Thanks for any help |
|
Good day! After upgrading my MySQL to version 5 becoming very slow what's wrong with this? Please any could give advice how to optimise it. Thank you. Roland. |
|
Hi, I have a website running largely based on the opensource osCommerce php. Recently we have experienced problems with pages crashing half way through loading. This seems to occur randomly maybe about 5-10% of the time you load a page. What happes is that the page will start loading and … |
|
Hello , If you know the answer please simplify it for me. I am so discouraged trying to figure this out. I'll be very grateful, Thanks ahead a time! When I insert my (2) selected photos in my photo form , they show two pictures but it repeats only (1) … |
|
I am looking for a freelancer to create a payment/subscription system on my website. You can view the details at [url]http://www.scriptlance.com/projects/1148073042.shtml[/url] |
|
hi, i got problem in covert the data to integer example: in my database is bv column is 2.0000 now i want it convert to 2 how to i do so? in php thanks for advance |
|
Hi all, I am wondering if anyone can help me with my problem. I am in the process of starting a directory but I stumbled on a problem I would like to fix. every link has an info link that redirects to an info page where more information can be … |
|
hiya does anybody know how i can have a page that members of an online music library application that i am building can download the tracks on the page by clicking a dwnload option. If anybody knows any good sites can you please let me know thatnks |
|
After exploring PHP for the past few days, I've been trying to use it on the new CSS based website that I'm creating. I'm trying to use "include" function in order to get my "header", "topMenu", "leftMenu", "rightMenu" and "bottomMenu", since in ALL the pages, these would be common. The … |
|
hiya in my database i have a users table Create Table Users( user_id INT UNSIGNED NOT NULL AUTO_INCREMENT, email varchar (40) NOT NULL, pass CHAR (40) NOT NULL, first_name varchar (15) NOT NULL, last_name varchar (30) NOT NULL, active CHAR (32), registration_date datertime NOT NULL, PRIMARY KEY(member_id), UNIQUE KEY (email), … |
|
in my online music video library so far I have an artist section where artists can login An artist should be allowed to upload their tracks on the site for the general public to hear. a user can download a track and listen to tracks provided they are logged on. … |
The End.