- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Professional Geek
This class allows for the handling of normal and serialized cookies as well as switching between these types of cookies. Cookie Functions: Write Cookies Read Cookies Delete Cookies Use of this class is fairly simple. Step 1: Include the class source in your php project using the require or include … |
|
Can someone please help me I have made an example, of an cookies I have added a value 45 but i have created another page that displays. This prob is when i run the code that has the value 45 its suppose to give me a blank page byut i … |
|
Hi i am new to PHP, Can anyone fix this problem to me. i am writing a code to change password where i have already encoded a password and stored in database. and in a new changepassword form i have to do two things one is to get the oldpassword … |
|
I just want to scan through a directory containing several subdirectories, each containing several text files, and display the name/word count/character count of each text file in each subdirectory. All I'm looking for is a quick and simple way to do the scanning through all subdirectories finding each file. thanks … |
|
___________________________ [b][u]|My other computer is a CRAY|[/u][/b] |
|
So I decided that I would describe my attempts at developing my own Rapid Development Framework, here on DaniWeb since they are so nice to give people free blog space. So many of you are probably asking, "What exactly is a Rapid Development Framework?" A Rapid Development Framework (I'll just … |
|
Hi all, i have this bbcode for a [URL] which is not working. Please let me know whats wrong with it. [code] // Perform URL Search $post = preg_replace("/\[url\]([$URLSearchString]*)\[\/url\]/", '<a href="javascript:go('$1','new')">$1</a>', $post); $post = preg_replace("(\[url\=([$URLSearchString]*)\](.+?)\[/url\])", '<a href="javascript:go('$1','new')">$2</a>', $post); [/code] Thank you. |
|
Hi there, i have a quick question. What is a good software that we can use to build php pages??? I heard that netbeans is a good one!! i never used php before, and would like to have my own website using php. It's not a complex website, it's fairly … |
|
Hi there i'm trying to display an image on a webpage. The image's URL is stored in a mysql database. i just want to output the image to the display via PHP. Any ideas? Thanks |
|
I'm trying to create a form that updates a MySQL record when the user clicks a LINK, not a button. I don't want to open another page for this. There really isn't a need for me to post my code right now, as I'm trying to figure out how to … |
|
The dll is in the directory specified in the apache2.2 configuration file. Yet restarting the apache server generates this error message: "httpd.exe : syntax error on line 128 of C:/Program Files/Apache Software Foundation/Apache2.2…/conf/httpd.conf : Cannot load c:/php5/php5apache2.dll into server. The specified module cannot be found." Any thoughts on why it … |
|
Hai I had a search script in my web page. There are two inputs 1. Type 2. Location ( list with values --> Any,India,China) And location is not mandatory for search. When user submit search in database and show results. my query is like this [code]"SELECT * from dbname where … |
|
I had a web site ( Real Estate) and visitor can add data. But I only need to add in site only after my approval. So I make a column in database that "approved". When an user submit data then Enter the value "no" in "approved" column. When I approve … |
|
hi for posting a new thread we are using editor in daniweb.i want something simple like this.can anyone tell me how to achieve this. thanks in advance |
|
Hello, Quick question...For the email code in the PHP script to work, do I have to make any server settings? or make any accomodation for the type of server it is being run on? If so, then please guide me... The application is located on a Linux server. |
|
i am extemly newbie and don’t know whether I should post my problem here or somewhere else, however… i have following problem in one of my php-mysql application header link through browser is, "http://localhost/test/reply.php?id=852" and query is as follow, [ICODE] $name=$_POST['name']; //from the name form $q_id=$_GET['id']; $sql="INSERT INTO `test`.`reply`(`rid`,`tid`,`name`)VALUES(NULL,'$q_id','$name')"; $result=mysql_query($sql);[/ICODE] … |
|
In my last topic i quess i was asking to much so no one would help me, so this time ill take it one step at a time, heres my first problem. [CODE]<? include("dbinfo.inc.php"); mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM tutorials WHERE tut_program='Photoshop' AND tut_category='Text … |
|
Yes i know, far from a serious topic and very much like the what are you listening to topic, but i felt that this should go here being as it would be pertaining to alcohol. this is where you mention... recipes i guess, or stuff you liked/just tried with some … |
|
Hello all, A few days ago I tried to use a mail script and recieved an error: "Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25....." Which was wierd because I had set the smtp server to my isp's mailserver. When I changed the smtp_port to 30, … |
|
Hi everyone, i am a newbie to PHP and i am struggling with the following error. i am trying to follow this [URL="http://www.roscripts.com/PHP_login_script-143.html"]link[/URL]l tutorial but its not working. Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /Applications/MAMP/htdocs/functions.php on line 73 Warning: mysql_num_rows(): supplied argument is not … |
|
Hi everyone, I'm now fiddling over a week to fix a problem on my linux-webserver. I have the following code: [CODE] ... $bool=mkdir(trim($semname), 0777, TRUE); //chmod(trim($semname),0777); $f2=fopen(trim($semname)."/index.php","w"); ... [/CODE] it works perfectly when working on my home server under windows but as soon as loaded up on my linux-webserver it … |
|
hi...i am doing form for bill redemption, and juz wanna ask is there any function in php used to check for expired date? like current month is march, if user enter due month to be january, then it will be invalid. Any function to detect current date? By the way, … |
|
hi, im getting these 4 (or 5) errors when i validate my page at w3.org [URL="http://validator.w3.org/check?uri=http%3A%2F%2Fhome.sprit.org%2Fdonrow%2Fforum%2F&charset=%28detect+automatically%29&doctype=Inline&group=0"]click here to see the errors![/URL] what can the problem be?! plz help... |
|
Hi there, i hope someone can help me with my problem...... I have designed a web site and developed it already, i am on my Contact page and i am trying to write a php script for the user to send me email..........i have the code, and i followed several … |
|
Hi everyone, I'm a lazy programmer and when I want to create an array that I can store serialized in a database I don't feel like typing out all the array stuff rather I want to use a delimited string something like this: [code]access.read=1,2,3:: access.write=1,2:: access.modify=1,2:: access.manage=1:: somethingelse=10101[/code] So I … |
|
Please, where is the problem? Unable to jump to row 0 on MySQL result index 3 in c:\apache\htdocs\cd_shop\funkcie_s_databazou.php on line 1041 function zrataj_cenu($kosik) //funkcia pocitajuca vyslednu sumu vsetkych poloziek v nakupnom kosiku { $cena = 0.0; if(is_array($kosik)) { $conn = db_connect(); foreach($kosik as $EAN_kod => $qty) { $query = "select … |
|
[B]Hello all of you . I just wana know to return to same id when we delete it from the database for exmaple when we delete the user_id that equal to 1 the next when we enter the new record the user_id will became 2 i want to make it … |
|
I've been working with a PHP site and below is the code for my index page.. how can i check the data first before going to POST? can i do it with a javascript? if the textboxes are blank it will not POST and just give a message.. and How … |
|
hi i want to fetch username from another table based on the id generated in the temopary table. [CODE] <?php @ $rpp; //Records Per Page @ $cps; //Current Page Starting row number @ $lps; //Last Page Starting row number @ $a; //will be used to print the starting row number … |
|
I personally like [url="http://pcweenies.net/"]PC Weenies[/url] There's also Working Daze which isn't too bad but PC Weenies is actually my favorite. |