39,323 Topics
| |
I'm using xampp on XP. I can't get PHP to read my var from the URL. example, when I hit [url]www.foobar.com/whatever.php?azz=wala[/url] then I should get wala to print to the browser with the following code. Any ideas?? [code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled</title> </head> <body> before … | |
I have a RSS reader on a web-page and the RSS it receives have links that contain "&" sign in them. For the page to be valid it needs to be changed to "&". I know this sounds stupid and unnecessary but I want to fix them. Attached to this … | |
Hello, I have 3 text boxes that users can enter there AIM, YIM nickname and MSN email. Once submittd it sends and stores in MySQL db. I will use mysql_real_escape_string() of course but am not sure what is the best way to ensure no other mailicious code has been entered. … | |
sample of my xml [CODE]<?xml version = "1.0" encoding="UTF-8"?> <?xml-stylesheet type = "text/xsl" href = "input.xsl"?> <products> <laptop> <name>hp </name> <details> 15.6-Inch Espresso Laptop - Up to 4 Hours of Battery Life (Windows 7 Home Premium) </details> <price>600$</price> </laptop> <laptop> <name>dell vostro</name> <details> 17-Inch </details> <price>600$</price> </laptop> <laptop> <name>acer aspire … | |
Hey. i was wondering howto delete a single line from a FFD on the server that i currently have, it is not possible to use a mySQL database and I'd rather keep it a FDD I have tried too no avail. Here is my current code [code] <?php $file = … | |
Is there a way to use PHP include in URLs? e.g. http://www.domain.co.uk/path/<?php include 'file.php'; ?>/path/page.php This would help me so so so much! Thanks in advance! BJC | |
Dear All I am writing one small web application in PHP. I am trying to save some data which is entered in PLLWINDOW.PHP and when I click on Button Data should be saved in database, my insert into statement is written in SAVE.PHP. After saving the data in database my … | |
I am looking for a sane and sensible PHP framework. Every framework I've run into so far offers "an extensible architecture for developing, maintaining, and deploying applications" which is basically code for "a whole bunch of needlessly complicated BS I don't need". Ultimately, I am looking for something that is … | |
i am using APACHE 2.0.55 web server i have configured apache and php ( i get the phpinfo() page correct) altough after installing apache i do not get the 'http:\\localhost' page i have installed mysql_administrator1.1.9 and mysql-essential-4.1.12 on my PC. i have uncommented 'php_mysql.dll' in php.ini after restarting apache server … | |
i need some help with this script. its working fine but what do i do if i want to insert it within a html script. I have tried to but it between the <head> tags but dont get the result i want, pls help. [CODE] <?php include ('connect.php'); error_reporting(E_ALL); ini_set('display_errors', … | |
Hello! What I am trying to do is display a list of categories and another list of brands. [B]CategoryList : class BrandList : class[/B] I am getting only the list of classes displayed. Can anyone tell me what is wrong with my code.. [CODE] <?php $obj = new CategoryList(); if … | |
Hi, I have a project where more than 1000 users will upload files in one day. I need to use FTP to do this but I don't know what to use. So far I read about cURL, PureFTPd, Squid, ProFTPd. I have a server machine with LAMP installed to will … | |
I have a post a comment code that validates input but submits on page refresh. so i added session unique id to the form validation. but it won't let me post on any of the detail.php pages after i have posted on one(detail.php is a dynamic page that gets the … | |
can someone kind give me a sample code it will be highly appreciated thanks! | |
Hi, Is cURL FTP to upload word files to webspace or inhouse server is better option than using simple PHP file uploading function "move_uploaded_file()", if there are around 1000 user upload files in a day? Or is there any better solution? Thanks in advance | |
Hi, I'm new to PHP.If i execute this code. It shows the warning as "Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in c:\wamp\www\login_action.php on line 15 Name Address Telephone company" I don't know how to solve this.[code]<?php include 'connection.php'; $uname = $_REQUEST['uname'];//extract($_POST); $uname $pword = $_REQUEST['pword']; … | |
Hi. I building a site that users pay through paypal to insert data and would have to pay every month in order to store and display that data. I don’t want to delete the data if they don’t pay, just prevent it from being displayed on a non-restricted page. Almost … | |
Its a scenario of message and the reply post for articles and the posted messages are stored in the database. This message as a parameter is passed to the script (lets call is 'insert.php') doing this insertion is called from the js function onclick of the submit. Inside this 'insert.php', … | |
Hi , Till now i have been completed my projects on basic php,mysql,ajax.. now i have to do the project as like this.. [URL="http://http://www.finviz.com"]http://www.finviz.com[/URL] Some of my frnds said abt this as u should buy WIDGETS..after we can use it.. that is the only thing wat i know abt this … | |
Hi, I'm having trouble learning about cron. I understand what it does but how do I get started using it, is this someting I have to download? Where do I get it from? Any good tutorials out there? Thanks | |
Hi. Is it possible onclick event the image blue_go.jpg to be swaped with another one. Thanks[code]1. <!-- <input type="image" title="Click here to start Uploading" src="<?=$host;?>/images/blue_go.jpg" id="free_go_btn" alt="Go"/> 2. <!-- <input type="image" src="<?=$host;?>/images/blue_go.jpg" id="free_go_btn" onclick="beginUpload('<?=$sid;?>'); return false;" alt="Go"/>[/code] | |
[code] <?php $MD5Code = "kikugalanet"; // Your Neuz MD5 Code $dbAddr = "127.0.0.1"; // Your MSSQL Host IP $dbName = "ACCOUNTS_DBF"; // Your Account Database $dbUser = "root"; // Your Database user $dbPass = ""; // Your Database User password ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html … | |
Hi, I am trying to save my query results into MS Excel format by using the following code. It works on the 1st attempt, but however when i tried to save it again by making another query, i received this warning message: [B]Cannot modify header information - headers already sent … | |
How to allow user to add images to display at his/her profile area? | |
I m working on a MLM project in which i have to store member automatically in binary tree form like 1 is root 2 is child of 1 3 is child of 1 Then 4 is child of 2 5 is child of 2 6 is child of 3 7 … | |
Hi everyone, I have a drop menu as below and when submitted it sends either no value, male or female to the database. [CODE]<select id="gender" name="gender"> <option selected="selected" value=""/> </option> <option value="Male">Male</option> <option value="Female">Female</option> </select>[/CODE] Now when i go back to the page i want it to show the value … | |
hi i wrote a code in php which enables login with session. So that i can retrieve info of the loged user. It works fine in Firefox but not in IE8. What is probably the matter? | |
Hi, Iv'e been reading through all the different posts and searching the web all day and I am not sure what went wrong I am getting this error "Parse error: syntax error, unexpected T_STRING in /home/gamersh1/public_html/database/register.php on line 9" Code: Register.php [CODE]<?php include ('mysql.php'); if(isset($_POST['submit'])){ $username = ($_POST['username']); $password = … | |
[CODE]<?php $link = @mssql_connect("-", "-", "-") or die ("Server is down!"); $db = @mssql_select_db('-') or die ("Accout table is missing!"); function doesUsernameExist($name){ $exit = FALSE; $result = @mssql_query("SELECT * FROM Accounttable.. WHERE account='$name'"); if(mssql_num_rows($result) != 0){ $exit = TRUE; } else{ $exit = FALSE; } return $exit; } if(!isset($_POST['submit'])){ printSign(""); … | |
Hi frnds... i m getting differnt BUG... i m phasing problem with single quotes in IE only... In IE also some times sinlgle quotes sentences working fine...but some times it doesn't display some sentences..but in page source it display correctly.. here are the 2 senteces are working in IE... [QUOTE]Manmohan's … |
The End.