39,320 Topics

Member Avatar for
Member Avatar for emclondon

Hello everyone, I'm trying to write a script which accepts URL by GET and then validates the URL before processing it. for the sake of arguement lets say that the URL I'm expecting is in this format http://mysite.com/myscript.php?url=http://blahblah.blahblah.bla/blahblah/blahblah/blahblah.bla http://subdomain.domain.tld/section/category/file.ext I need to validate the part which is a link to …

Member Avatar for pritaeas
0
120
Member Avatar for Ian159

I do not see it! <?php //Code for Header and Search Bar function headerAndSearchCode() { $defaultText = htmlentities($_GET['keywords']); echo ' <header id="main_header"> < div id= "rightAlign"> '; //links will be here </div> <a href=\"index.php\"><imgsrc="http://www.lisa1986.com/images/mainLogo.png"></a> </header> <div id=\ "top_search\"> <form name=\"input\" action=\"search.php\" method=\get\"> <input type=\"text\" id=\"keywords\" size="\100px\" class=\"searchBox\" value=\"$defaultText\"> <select …

Member Avatar for cereal
0
123
Member Avatar for sjparida

I am trying to install a php script on a windows system using XAMPP, but before installing it ,I have to configure the script accordng to my xampp configuration this is what the scripts config file wants: // Begin Configuration $config['basedir'] = 'C:\xampp\htdocs\myscript'; $config['baseurl'] = 'http://127.0.01/myscript'; $DBTYPE = 'mysql'; $DBHOST …

Member Avatar for sjparida
0
147
Member Avatar for mohamedasif18

Hi all, i am doing a project that need to be create email accounts without login to cpanel. I have created that and the mail is working perfectly. Now i wnat to know.. where is the email accounts, sent messages, inbox messages are saving in the cpanel.. Any help??

Member Avatar for eltonpiko
0
130
Member Avatar for AdilJ

I am trying to create a page of 8 avery labels for our users to print out. The labels are to be used for our meetups, so the users can have there name, avatar, and background. These are all dynamically pulled from the database. The user will have a link …

Member Avatar for mschroeder
0
1K
Member Avatar for .:n'tQ-boy:.

Hi every1 I am building a website using wordpress, can you show me how to create a form that allow visitor register to join a class or something like that? Thanks you much! :)

Member Avatar for .:n'tQ-boy:.
0
104
Member Avatar for mrcniceguy

i just started learning SEO and and i want to know if the are free tools to see the position(ranking ) of my website... any suggestion will be appreciated.

Member Avatar for Biiim
0
89
Member Avatar for moblyft

Hi All, I am trying to create a page were users can edit their post. -Select subbmitted data from the database using post id, and display this information so that users can Edit. -And finally i want to update the data and continue to the preview page, where users can …

Member Avatar for moblyft
0
167
Member Avatar for Panathinaikos22

Hellow, i want to find location/country of visitors by IP, im looking for any site can do it for me, i want a script from other site to use it in my php file, that script will get location using other server and will return to me location...

Member Avatar for pritaeas
0
103
Member Avatar for mogaka

i have created a php application where am using **a barcode scanner to load item name and prices from database**. the problem is that **once the barcode reader finishes reading the barcode, the details are loaded and it tabs to the next field. this means that the user has to …

Member Avatar for Biiim
0
89
Member Avatar for magicmarkuk

Hi I am running the following SQL (extract shown below) INSERT INTO users (user_id, username, username_clean) SELECT member_id, username, lower(REPLACE(username, '.', '_')) FROM members The problem arises when lower(REPLACE(username, '.', '_')) produces a duplicate that already exists in username_clean as the users table does not permit duplicates. Is there a …

Member Avatar for pritaeas
0
228
Member Avatar for phplover

Hi, I'm developing a blog that will have categories. I want to be able to store blog posts in more than one category. My problem is i am not sure how to go about it. I have a table called posts: CREATE TABLE `posts` ( `post_id` int(10) unsigned NOT NULL …

Member Avatar for phplover
0
182
Member Avatar for rayidi

I'm working with a sms gateway thing, now i have to pass a url via GET or POST. i'm tried with fopen("http://api.studentmug.com/bulksms/sms.php?Username=<something>&Password=<something>", "r"); like that. but it didn't worked. Please help me guys. i'm also used curl_init(); it is replying Bad Request. Guys please help me with this. Thanks in …

Member Avatar for Biiim
0
217
Member Avatar for Jfunch

I need help displaying some products from a mysql database in a 3x4 table or what ever size i choose to do. An example of how I want to display it is http://www.golfcircuit.com/Golf-Drivers/13__.html. Right now I just have it displaying in a n x 1 format. Like so http://webdev.cs.kent.edu/~jfunchio/wp2/HW2/index.php. I …

Member Avatar for pritaeas
0
2K
Member Avatar for cjohnweb

I'm trying to understand XPath, but I've come acrost an issue I can not seam to find an answer for. In this case it seams that XPath is not returning what it should. I've got a sample html file, test.html: <html> <div> <p>1</p> <p>2</p> <p>3</p> <p>4</p> <p>5</p> </div> </html> And …

Member Avatar for pritaeas
0
668
Member Avatar for LukaHorvatic

Hi,i have following code: if (!isset($_POST['submit'])) { <form action="" method="post"> <input type="submit" name="submit" value="Go"></input> </form> } else { if (!isset($_POST['submittwo'])) { <form action="" method="post"> <input type="submit" name="submittwo" value="Go"></input> </form> } else { } } As you can see first block of code it's ordinary form which submit to itself,and in …

Member Avatar for diafol
0
163
Member Avatar for prushton1

Hi, I have tried to use pagination for my website that I'm creating, when I click on next page or last page it gives me this problem: **You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to …

Member Avatar for simplypixie
0
185
Member Avatar for vergil1983

I'm trying to store the text from my textarea into my php variable, but it seems like it is not working as i wish too. and it shows error in my textarea: <br /> <b>Notice</b>: Undefined index: ftext in <b>C:\Program Files (x86)\EasyPHP-5.3.9\www\sentiform.php</b> on line <b>20</b><br /> sorry that i am …

Member Avatar for simplypixie
0
783
Member Avatar for bavenbabu

I am new to cakephp.I installed CakePHP.I wnat a simple program so as to know how to use cakephp.I tried everysite but couldnot understand how the MVC works while writing a program.I also want to know how database is created in CAKEPHP>

Member Avatar for bavenbabu
0
106
Member Avatar for JoeMc

I am currently working on a project based on google maps api's. This is a website with a back-end database. I am trying to find out how to save a route that a user creates on my website map (from point a to point b), into my database, just by …

Member Avatar for cereal
0
83
Member Avatar for tallygal

I'm trying to write a function that that returns an table from an array. But, for some reason, it is only displaying the first row or the array instead of all. <html> <link rel="stylesheet" type="text/css" href="week13.css" /> </head> <body> <h2>table</h2> <br> <br> <?php $table = array("440" => "cubic inch engine","truck …

Member Avatar for tallygal
0
2K
Member Avatar for javedsai

Hi everyone, Now a days Justhost & Bluehost are putting restrictions on mysql joins. Even If there are 11 or 12 Joins the query is not running. When you will run the same query in phpmyadmin then, its giving you error message as "#1104 - The SELECT would examine more …

Member Avatar for veedeoo
0
73
Member Avatar for heshanm

I want to submit data of my student registration form to the database. If an admission number already exists, a message should be displayed like this. "**Admission number2012/1..This student has been already entered to the system**." I have created the below coding which fulfill the above task. But i want …

Member Avatar for fobos
0
133
Member Avatar for -==Zero==-

Hello Dani Members I Have Question About My Code <?php $id = intval($_GET["id"]); $result = mysql_query("SELECT * FROM peoples ORDER BY RAND() LIMIT 1"); while($row = mysql_fetch_array($result)) { echo "$row[name]<br/> <a href='members.php?id=$row[id]'><img class='img_shadow' src='$row[image]' width='198' height='250' alt='$row[name]' /></a>"; } ?> This Code Get Me Image Of ONe Member And His …

Member Avatar for -==Zero==-
0
204
Member Avatar for rrahulrroshan

Hi , I have named my databases as Week1Jan2012 for 1st week of January , (1-7 Jan 2012) Is there any way to map Week1Jan2012 to 1-7 Jan2012 ,So that I can make a drop down to select this mapped once so that it selects from Week1Jan2012 database. Thanks

Member Avatar for niranga
0
61
Member Avatar for grant.baker

I have a page that I wrote to upload a text file to a mysql database. The text file has thousands of lines and each line is a separate database row. An identifier at the beginning of each line tells me which table to insert the line into in the …

Member Avatar for grant.baker
0
921
Member Avatar for paddysca

Hi, I have developed a website with a user profile page with eye_colour , hair_colour , size etc. Each item has a set range of values entered through a drop down list. I wish to allow the users to search these set range’s to find their ideal match. To this …

Member Avatar for veedeoo
0
204
Member Avatar for hubertj

hi guys...i have this prooblem which i like to acho a window pop up...but i cannot do so...the link does not seem to work and i cannot find any error in it. I wonder if anyone can find any error here: $ancpopup = "<div id=\"anctrigger\"><a href=\"#\" onclick=\"window.open('m_ancpopup.php?page='$eid','ancpopup','width=670px,height=470px,left=0px,top=100px,screenX=0,screenY=100')\">Accident &amp; Conviction EXIST!</a></div>"; …

Member Avatar for veedeoo
0
107
Member Avatar for Transcendent

After the form is submit, it will not echo $genderRadio Any ideas? It can select the gender but I can't display in the php file `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title> Assignment 2</title> </head> <body> <h1>Please enter your information</h1> <form method= "post" action = "output_hw2.php"> …

Member Avatar for broj1
0
131
Member Avatar for zacharysr

I am making a online social networking site, and have messging section, i want it to make it show only 1 messge from each user, So if you have a message from for ex Username "bob" id "32" and you have 5 messages from him Then you have 20 messages …

Member Avatar for zacharysr
0
181

The End.