38,019 Topics

Member Avatar for
Member Avatar for bobby9101

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 …

Member Avatar for bobby9101
0
218
Member Avatar for puddin

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: …

0
160
Member Avatar for puddin

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 = …

Member Avatar for digital-ether
0
192
Member Avatar for cancer10

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

Member Avatar for paradox814
0
196
Member Avatar for manish812

when i use session_start() then i got error how i tackle this problem pls help me

Member Avatar for demo
0
91
Member Avatar for j4mes_bond25

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: …

Member Avatar for j4mes_bond25
0
121
Member Avatar for Zayed

<?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 ) …

Member Avatar for cdwhalley.com
0
171
Member Avatar for navvy

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

Member Avatar for Darkmeerkat
0
120
Member Avatar for Pixelate

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 …

0
105
Member Avatar for Fel

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 …

Member Avatar for Fel
0
208
Member Avatar for j4mes_bond25

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 …

Member Avatar for BlazingWolf
0
154
Member Avatar for Astegiano

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 …

Member Avatar for BlazingWolf
0
176
Member Avatar for Brims

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 …

Member Avatar for BlazingWolf
0
167
Member Avatar for aarya

i m seeking for good shoping cart with opensource code. any body sugest me please

Member Avatar for lordspace
0
168
Member Avatar for Brims

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 …

Member Avatar for BlazingWolf
0
122
Member Avatar for quansah

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.

Member Avatar for digital-ether
0
100
Member Avatar for abud

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 :)

0
61
Member Avatar for ayajhane_dhagz

juz wanna know the syntax for retrieving and storing data from and to mysql database using php....

Member Avatar for ayajhane_dhagz
0
226
Member Avatar for hockmasm

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 …

0
84
Member Avatar for greendayrok

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

Member Avatar for alpha2006
0
143
Member Avatar for rcasinillo_s

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.

Member Avatar for alpha2006
0
117
Member Avatar for kaicrow

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 …

Member Avatar for alpha2006
0
137
Member Avatar for puddin

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) …

Member Avatar for alpha2006
0
107
Member Avatar for hockmasm

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]

Member Avatar for alpha2006
0
150
Member Avatar for karenhoe

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

Member Avatar for alpha2006
0
145
Member Avatar for dedoo

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 …

0
66
Member Avatar for Brims

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

0
88
Member Avatar for j4mes_bond25

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 …

Member Avatar for zippee
0
136
Member Avatar for Brims

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), …

Member Avatar for digital-ether
0
107
Member Avatar for Brims

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. …

0
121

The End.