39,326 Topics

Member Avatar for
Member Avatar for shiva.thapa

Hi, we have a page where we have our host status like up/down and many others. I just wanted to write a php scripts which finds the host up/down and only displays this in homepage. How can we perform this task.

Member Avatar for diafol
0
124
Member Avatar for vizz

I have hosting and domain with https://www.znetlive.in (with Apache version 2.2.21) suppose www.abc.com I want to rewrite urls.(Which is not working in anyways) http://www.abc.com/index.php for this http://www.abc.com http://www.abc.com/about.php for this http://www.abc.com/about http://www.abc.com/portfolio.php for this http://www.abc.com/portfolio http://www.abc.com/contact.php for this http://www.abc.com/contact I have tried all possible ways but it is not working. …

Member Avatar for vizz
0
436
Member Avatar for GlenRogers

Hi all, I cant get this at all. Ihave a form with a series of radio button, all which represent a category of animal. I have given each radio button a value which is the same as the mysql table it represents. For example: <input type="radio" name="delete" value="tortoises">Tortoises<br /> When …

Member Avatar for GlenRogers
0
2K
Member Avatar for johndohmen1963

can someone explain me wy the folowing query dosn''t work because i want to select only where the values are 1 , 2 , 3 , 4 and so ond and count these rows $link = mysql_connect("localhost", "bla", "bla"); mysql_select_db("db", $link); $result = mysql_query("SELECT * FROM narr_turnier_".$onlyconsonants." WHERE startnummer <> …

Member Avatar for johndohmen1963
0
113
Member Avatar for hafiz.muhammadakas

please i have a problem with my login page when i hosted my website it is showing me this error please help me here are the errors that it show:- 1. Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/coezelib/public_html/checkstaffLogin.php:10) in /home/coezelib/public_html/checkstaffLogin.php on …

Member Avatar for gabrielcastillo
0
148
Member Avatar for atiqur_29

here is an example that if i enter id then it will retrieve data from database & print it within form fields. my database has only three column- id, name & number. here is my index.html file: <html> <head> <script> function showData(str) { if (str=="") { document.getElementById("ajax-content").innerHTML=""; return; } // …

Member Avatar for gabrielcastillo
0
246
Member Avatar for Aamir18

Sir, my site url ix www.site.com/exploits.php?id=1 how can i chng it to www.site.com/exploits/1 plx help me?

Member Avatar for diafol
0
324
Member Avatar for ehpratah

Hi guys need some extra help/eye here to point out what am i doing wrong basically i want to display the data from mydbase.by the way the purpose of this page is for posting article anyway what im trying to do is put a Next and previous navigation bar but …

Member Avatar for ehpratah
0
168
Member Avatar for dbalas

Hi! Im getting this error : Warning: preg_replace(): No ending delimiter '.' found in C:\wamp\www\oa\include\config.inc.php on line 67. This is the line `$file = preg_replace(".*/",'',$e_file);`. tried to put . everywhere but its not so simple for me hahaha... Anny ideas? Thank you!

Member Avatar for LastMitch
0
520
Member Avatar for Noth

Before I start, I just wanted to make it clear that I have never used PHP before, therefore none of the code in this post is mine. It is all from tutorial sites that I am trying to get to work. My mistakes will probably be incredibly basic. Anyway, I'm …

Member Avatar for broj1
0
154
Member Avatar for mrcniceguy

Is there anyone who can explain to me how can i store image in a folder to the server then the path to mysql. i dont know even how to get started,i will appreciate for your help. Or links where i can find the tutorials.

Member Avatar for yanmyoe
0
5K
Member Avatar for phpHelp

hello, can any1 me help with live chat module in php for e-commerce site???how to keep the track of visitor's queries and replies in DATABASE? Plz help

Member Avatar for Djmann1013
0
187
Member Avatar for muhammad.waleed.9699

i try my best but fail,,, department.php <?php session_start(); ?> <!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"> <head> <title>Untitled Page</title> </head> <body><pre> <?php echo $_SESSION['userid'] ?> has Logged In <a href="logout.php"><input type="button" name="Logout" value="Logout" style="width: 62px"/></a> </pre> <h2 align="center">Student Clearance Information</h2> <form action="students_clearance.php" method="post"> <table align="center"> <tr> …

Member Avatar for muhammad.waleed.9699
0
229
Member Avatar for rizzi143

hi. i have a html form that allows user to browse and upload the code using the upload button ( which runs php). the files gets uploaded. now i need to either change that existing php file or add a new button in html file and compile and run the …

Member Avatar for diafol
0
278
Member Avatar for VEL Hassan

Hi, How to downgrade php from php 5.3.6-13 to Php 5.2.13 version? Thanks in advance. Velhassan.

Member Avatar for diafol
0
92
Member Avatar for chandbasha

[CODE] Options +FollowSymLinks RewriteEngine on RewriteRule ^100bestbuy/products/(.*)/$ /100bestbuy/search.php?categoryId=$1 [L,NC] RewriteRule ^/100bestbuy/search-(.*)/$ 100bestbuy/search.php?id=$1 [L,NC] RewriteRule ^/100bestbuy/product-([0-9]+)/$ 100bestbuy/product.php?id=$1 [L,NC] RewriteRule ^/search/(.*)/$ search.php?categoryId=$1 [/CODE] any thing not working please tell where to modify the code

Member Avatar for diafol
0
251
Member Avatar for joseph.akinadewo

Can someone help me with this php script for form processing. I use the script for processing my contact form, but I could not received a reply from my contacts. instead whosever contact me, the system returns back to me the followings thereby making it impossible for me to actually …

Member Avatar for joseph.akinadewo
0
323
Member Avatar for jessa_lee

I've got a basic subscription list signup for a website, and a basic form to input the text for sending an email to the subscribers... but I need to know what steps I need to take to create an HTML email, place a different main topic in the newsletter each …

Member Avatar for smartedesigners
0
1K
Member Avatar for gws75

Hi, I am using openinviter for email contacts importer for my own cms local & online, & on loging in openinviter with few of email id's of some domains it login successfully. But for few other valid email id's & passwords, login always failed with msg "Login failed. Please check …

Member Avatar for LastMitch
0
99
Member Avatar for jilkin

PHP how do I - in a password protected dir stop anyone typeing anything after the "/" or if they try to change the address at all they will simply be directed to the login page with message? Hope somone can help am stuck.

Member Avatar for jilkin
0
139
Member Avatar for subratabanerjee

My concept is to load contents of a div on other div in html. In short I want to learn how the new Facebook inbox works, when we click on a message on the right, the contents and fetched from the database and loaded in the center column. I know …

Member Avatar for subratabanerjee
0
187
Member Avatar for phphelp123

<?php $host="localhost"; // Host name $db_username="root"; // Mysql username $db_password=""; // Mysql password $db_name="shop"; // Database name $tbl_name="users"; // Table name // Connect to server and select databse. mysql_connect("$host", "$db_username", "$db_password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // username and password sent from form $username=@$_POST['username']; $psswd=@$_POST['password']; $password = md5(trim($psswd)); // …

Member Avatar for veedeoo
0
117
Member Avatar for 68thorby68

I have been reading lots about the use of cookies and session id's but keep thinking i'm missing something. I currently set cookies when users login and add things like the users database id or email so I can retrieve their details when needed, and for forms, but I don't …

Member Avatar for 68thorby68
1
181
Member Avatar for dbalas

Hi! I have a problem with .pdf upload size... In input form i have set it like so: <input type="hidden" name="MAX_FILE_SIZE" value="1000000000"> in php.ini ; Maximum allowed size for uploaded files. upload_max_filesize = 150M but i can not upload the file of 1MB... I have looked at my error log …

Member Avatar for dbalas
0
768
Member Avatar for dbalas

Hi! I have a problem... I need to make simple upload script which for me as a novice php programmer isnt so simple aat aall! So if someone could point me to a good tutorial or solve my problem, it would be great! Ok, this is what i have now. …

Member Avatar for dbalas
0
181
Member Avatar for Riu 2009

hi everyone :) i have two tables (learningmaterial & evaluations) in mysql DB and i want to display all the learning material (from learningmaterial table ) and evaluations (if any) from evaluations table.. here is my code and i just want to ask how will i insert another select query …

Member Avatar for Riu 2009
0
267
Member Avatar for molla.getachew

Hi, I have file into which I am getting feedbacks from users. But when the file is open, users can not give feedback because it does not write into it. Worse of all, Plus it gives Warning erros on users browser. So the code has to check if the file …

Member Avatar for diafol
0
231
Member Avatar for vizz

How to add **Facebook like button** , **twitter share button** and **google plus button** on website?

Member Avatar for vizz
0
184
Member Avatar for vizz

How to get computer name and computer username using php? Computer name and server name are same or they are different?

Member Avatar for vizz
0
106
Member Avatar for missy_mi

HI, i am new at this programming stuff. so, i really dont know much about programming especially when it come to converting pages to pdf. so, i need to understand one thing, this..fpdf,mpdf,wkhtmltopdf and others..do they convert php page..because they said "convert HTML to PDF"..so i am confuse..i did try …

Member Avatar for missy_mi
0
373

The End.