39,402 Topics
![]() | |
Hi, just want to know which software is the best for PHP. I use PHPeditor and Notepad++ So how about you guys?? | |
Let me tell you this from the start =) We play a game called eve. In that game wheneve you kill someone you will recive an email wich i will post belove here for an idea how it looks like. This game alsoo has an ingame browser html 1.4 compliant. … | |
Hi I want to send data to remote server ,I have used http_post_data and cURL and even fsockopen method. For http_post_data it has give me undefined function error.For cURL i have included curl libraries .dll file ,uncommented curl extension from php.ini file though it's giving error like curl_init() can not … | |
What is the best validation technique or function that I can use to detect spaces,commas or any other characters I dont expect from a user. I know of ereg and eregi but it seems not to be working the way I want. The problem is that I am allowing a … | |
i am using this code to send pm, after i send a pm it says "You have successfully sent a private message!" and the boxes under for user to send again if they like but i would like to show only "You have successfully sent a private message!" if the … | |
I'm not new to php, but, I'm not a great coder either... I'm not too familiar with sessions and session variables. I have been tasked with building an online "management" system for the eLearning we're offering. We have one .swf file for eLearning currently, but, have 23 in production so … | |
anyone can help me to make regular expression [code ] $string=" xxxxx xxxxx <body border='0'> <script language=javascript> ... word1 ... word2 ... word3... word4 ... </script> "; i want to remove all word from that string if that string have minimal three word'x' preg_replace(); how to make that regex? | |
Hi Ive been using the nl2br function on text that users input... which has been great, but if they want to edit that text later, its riddled with <br />'s etc... is there a way of stripping these html tags out of the code before its displayed in the 'edit' … ![]() | |
target.php: xas xjahs dajdh ajdhjas da d xxxx na dh ada hd main.php: <?php // removal malicious script by forzadraco $filename="target.php"; $existfile=@fopen($filename,"w"); if($existfile){ echo "file berhasil dibaca \n\n"; }else{ echo "file gagal dibaca \n\n"; } if( false == ($str=file_get_contents( $filename ))) echo "Could not read file."; else echo "File contents: … | |
Hi all I searched forum but couldn't fine the right answer I was looking for. I found a script online to help me with uploading a record to my database and the file to directory and name to database. I cannot get it to work and I cannot pin point … | |
how does this function work? how can i adjust this to a different language then english and the time zone as well? if possible? i think this is the code [code]function formatDate($val) { list($date, $time) = explode(" ", $val); list($year, $month, $day) = explode("-", $date); list($hour, $minute, $second) = explode … | |
hi can anybody tell what the error is Fatal error: Call to a member function insertseeks() on a non-object in php | |
would you know why would a text comes back in one line, i am trying to implement this pm system where i posted for some other isue, but this one is strange. when i am composing a message and keep writing, in the message body i have the similar window … | |
im working on a site and i would like to display the newest members within 30 days. how would i do this. im using mysql database. when the person signs up, it records the current date into their row. my module should show people that have signed up within the … | |
OK, so what I'm trying to do here is create a PHP site that's driven by a database similar to this one: [url]http://library.digiguide.com/lib/programmenextshowing/Police%2C+Camera%2C+Action!-12578[/url] [url]http://library.digiguide.com/lib/programmenextshowing/House-238308[/url] That site basically uses a PHP database and the pages are generated from the database as far as I'm aware. I'm trying to do a similar … | |
Hi frnds.. i need to know some ajax based small websites.... i mean website designed by using [B]ajax[/B] with [B]php.[/B]... Also send me some urls regarding ajax basics to learn ajax easily.. .... | |
Hi I have the following PHP search results page I am trying to configure the results page so that regardless of what is searched or what search fields have or do not have data the results are allways ordered by lastname. If I use Order by lastname in the initial … | |
I am looking for a very simple article submit script. That is free. Anyone know of any? mike | |
hi i wanna create a web page in such a way that, if a user gives a data in a text field,And click the submit button, it should automatically store in a drop down menu options... pls help me in devloping the code for this..... Thanks Nawab | |
Hey guys, OK, here's what I am trying to do: I need to log into another website, and download their reports. Seems easy right? Well, it is... because I've done it with numerous other websites. However, this one is tricky. The only way I can download the report at this … | |
Hello Guys, Im having a problem with my request code. I need to send a request to a friend and it should appear on the friends page when the friend log in. then if the freind accept it, it should get updated in the freinds table , ut I seem … | |
hi How can i get the html of a given web page?.. I have the url of the web page...please help me ....very urgent...Thank you Ditty | |
Hello everyone! Im new to the language Php and i need your help. Please help me on how to generate a text document or an *.xls file using Php. Data to be generated are taken from the database. Thanks and hoping for your response. | |
I'm getting this error: Parse error: syntax error, unexpected T_VARIABLE in /web/htdocs/www.immobiliare-deamicis.com/home/mail_segnala.php on line 1 I don't understand, any modify I made (even if I write 'print "hello";') it returns me this error. thank you <?php $ipaddress=$_SERVER['REMOTE_ADDR']; //IP remote // $_GET var $lang=$_GET['lang']; if (!$lang) $lang="it"; // $_POST var $form_email … | |
Using PHP, I have a button to delete the current record from the database. This takes the user to a confirm delete page. When the user confirms the delete, I want the record to be deleted from the table and also moved to another table that functions as an archive … | |
ok so the code inserts into the database a default status when the user sign ups. But I get an error saying: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''status' ) Values(`asd.asd`, … | |
I am in need of some help. we would like to use a quote calculator like this one: [url]http://faronics.com/html/calculator.asp?reg=MidEast[/url] I am not a PHP expert, even clueless at the best of times. It has to be able to calculate the prices in the dropdown boxes according to product and category … | |
Hi frnds.... i have a problem with input string spelling... Ex: $input_string= "amiricaa"; $db_string="America"; when i am searching for amiricaa , than i need to get related words...like America... how can i do with mysql query .... | |
Hello there... Any body help me to fix this problem regarding .htaccess I have written this code to convert my url from .php to .html [code]RewriteEngine on RewriteRule shopping/leftproducts/([^/]+).html$ /shopping/leftproducts.php?c_id=$1 [L][/code] but this couldn't work for me... i coundn't find where the problem occurs.. My url is like : [code] … | |
I want to put image uploading in my page and i searched all over the net for some ways on doing this and its seems like almost all of the ways states that i should save it in the database itself not i directories. Will the image retain its properties … | |
this one is a different script and maybe this could help others who want to have something like this. that's why i did not post to other post i had 1. how can i fill the name automaticly without showing the name field to user to fill (this comment system … | |
Hello, Please, can you help me , I want same this script in this site <URL SNIPPED> Movies script....... Free or Commercial I need same script please, Thanks | |
i have this code to do simple comment on the listings on my site [code]require_once($config['basepath'].'/include/listing.inc.php'); require_once($config['basepath'].'/include/misc.inc.php'); $misc = new misc(); $listingID = $_GET['listingID']; $sql = "SELECT * FROM default_en_comments WHERE listingID = '$listingID'"; $recordSet = $conn->Execute($sql); if ($recordSet === false) { $misc->log_error($sql); } while (!$recordSet->EOF) { $comments = $misc->make_db_unsafe ($recordSet->fields[comment]); … | |
anyone can help mo to tell the algorithm how to make server uptime application like serveruptime.com? [url]http://www.duniaislam.site50.net[/url] | |
hi......... help me plss to write coding to open a new pop up window while clicking on specific points on a map... regards enet | |
Hi I had a login script in php, Mysql. Users can make their accounts and they can add their property in my database. I need to do a mail to all of the other users when an user add a property. Kindly Let me know about the script. I had … | |
Hi frns.. here i am going to do paging ... upto now i got correctly what i mentioned([B]previous & next [/B]) here... but i need to add [B]last[/B] and [B]first[/B] also.... plz see this code with patience.... reply me asap.... [CODE] <?php include("config.php"); $page_name="index.php"; $start=$_GET['start']; // To take care global … | |
Hi frnds.... For searching.... when i comparing my input string with database string, i phase problem with case sensitive and white spaces.... plz give me a suggetion to do this.... ex: input = "bluefox"; but in my database that word is like "Blue Fox".......... i need to get results without … ![]() | |
Good day again to everyone.! my project of online enrolment system is almost done, thank you for all your support. Just let me know if you have problem in vb6 i would surely lean on my help to0 because its my expertise. this might be the last problem ive ever … | |
Well, I was wondering if anyone could give me a script I can use to get a entered value from a post form (e.g Username) and check to see if the username exists in a plain txt file I have with usernames separated by a line break, thanks in advanced. | |
Hello, all: I have a simple chart, like... ID ACCOUNT YEAR JAN FEB 1 Utilities 2007 $20 $20 2 Utilities 2008 $25 $25 Let's say, customer wants to add a "year" like 2009, how can I check that this "2009" is NOT already in the YEAR column?? so that if … | |
Hi guys - FNG here, and I got a little problem I'm hoping someone can help me understand. Uh, OK, it's actually a big problem. I have built, along with a friend who handles the PHP end for me, a website that draws on a database to "translate" itself into … | |
I have a php code which generates random number if visitor comes to my wordpress blog from yahoo.com and if the random number is less than 10 then display a welcome message else display normal blog. Or if visitor come to my blog without any referrer or from other sources … | |
Hello friends, I've a user login system......user's name & password are saved in the database.......suppose i've an user "admin". At the time of login if he enters "admin" he can login also if enters "ADMIN" or "AdMiN" he can login too.....how can I stop this thing........PLZZZZZZZ show me the way...... … | |
Hi, I want to do like 1> drop down menu for language selection 2> If select language convert whole page text to that language selected language. So how to add or use translator( converter ) how to use google translator?? How to do that?? | |
How do I get PHP to re compile. After I change a file, c:\xampp\phpmyadmin\config.inc.php in editor PSPad and save it, nothing changes, even if stop then start Apache and MySQL in XAMPP window, or reboot. Cannot get phpMyAdmin login to work probably because file changes don't result in application changes. … | |
im facing problem in retaining values after submitting or reloading the php forms...plz help | |
good day.! I am currently developing an enrolment system which will be on february 12-13 the deadline. In the middle of development, the client wants that on every link the pop-up info to be display on that link will be from the mysql database. Assuming that i already have a … | |
Hey Everyone! I have a question about oop. I am trying to write a MySQL class for managing my MySQL db's and calls. So far I have almost completed it, but I am missing lots of functions. These are the result functions (ie. mysql_fetch_array() or mysql_num_rows() etc.). Instead of creating … | |
Hi, i would like to, using php, randomly select a word from the current page, which i have already managed to get into a string. I would like to use php to randomly choose any of the words, the full word. |
The End.