39,393 Topics

Member Avatar for
Member Avatar for Cultred

I cannot really explain what you call them. However, I will give an example. I was on this site and their URLs were: index.php?page=page-name They said you can achieve this using PHP scripts. How, exactly?

Member Avatar for erms
0
111
Member Avatar for jakx12

Ok so heres the code . The error is this: $row[title] $row[content] $row[date] $row[title] $row[content] $row[date] $row[title] $row[content] $row[date] i mean thats all i get! and the code is this [CODE]<html> <head> <link rel=stylesheet type=text/css href=style.css> <title> Blog </title> </head> <body> <?php $username = $_SESSION['username']; include("header.php"); include("dbcon.php"); dbcon(); $result = …

Member Avatar for almostbob
0
82
Member Avatar for ttmt

Dynamically name array <input> checkbox ? Is it possible to generate dynamic array names for input checkbox forms ? I'm using this code to generate a form of text fields and checkboxs [code] <?php require_once("includes/connection.php"); require_once("includes/functions.php"); include("includes/header.php"); ?> <?php $query = "SELECT key_id, words FROM keywords"; $result = mysql_query($query); confirm_query($result); …

Member Avatar for diafol
0
172
Member Avatar for rajiva

any information regarding ruby on rails with php.iam working on oscommerce now.i want to learn ROR

Member Avatar for ruby50
0
88
Member Avatar for nicolemcgrgr50

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() what to do ?

Member Avatar for cwarn23
0
125
Member Avatar for theimben

Ok, Im about to rip my hair out in frustration; either IMDB is really good at what they do or I am really bad at what I do :crying: What Im trying to do is get posters from a given IMDB movie page. I can get the URL for the …

0
38
Member Avatar for babbi

hiii, plz help me in finding the history of online examinations.i browsed many sites but couldnt get the apt information like, 1)whats the 1st found web based tool for online examinations, 2)drawbacks of online examinations, 3)whats the reason behind the urge for web based online examinations. plzzz its urgent,thanks a …

Member Avatar for diafol
0
136
Member Avatar for DeepTaste

Hi, I'm planing to develop a voice logger web application, for Unix server. But to tell you the fact, i have no concept about voice logger. So, can anyone provide me some information about this and, if possible, PHP codes to build a Voice Logger. Thankx in advance.

0
69
Member Avatar for drastic

hi, i am using php version 4.1.3 and i was using php constants like _FILE_ and _LINE_ in echo statements but when i run these statements in browser they give error that constants are undefined but other php constants like one for php version and operating system work quite well.. …

Member Avatar for sjoscelyn
0
390
Member Avatar for rajeesh_rsn

Hi Please any one help me with a secure php image upload script... With out change the destination folder's chmod to 0777..... Please help me....... I am using php apache server... thx in advance

Member Avatar for almostbob
0
98
Member Avatar for gpittingale

[CODE]$result = mysql_query($sql_query,$conn) or die('Invalid query: ' . mysql_error()); $tip = $details['TotalHouseholds']; $perc = 21.33% $sumone= $tip*$perc;[/CODE]could anyone tell me if this is remotley correct i have tryed it in a browser but i get the page displayed normally with a nice line of code telling me [QUOTE]Warning: Division by …

Member Avatar for almostbob
0
93
Member Avatar for Mapper99

I have a simple problem and I do not want to write 24 if statements. I am creating a URL string which requires precise formatting to work. This URL is getting created on the fly based on variables ($Layer1.','.$Layer2.','.$Layer3) I pass in to create the URL string. The URL string …

Member Avatar for uncle_smith
0
234
Member Avatar for jakx12

The code is this: [code=php]<html> <head> <link rel=stylesheet type=text/css href=style.css> <title> Search Results </title> </head> <body> <?php include("header.php"); ?> <center> <div class=indexboxlarge2> <?php SESSION_start(); include("dbcon.php"); $searchresult = $_POST['result']; dbcon(); $query = mysql_query("SELECT * FROM user_info WHERE 1_name LIKE '%$searchresult%' OR WHERE 2_name LIKE '%$searchresult%'") or die(mysql_error()); $total = mysql_num_array($query); if …

Member Avatar for uncle_smith
0
139
Member Avatar for zskull

Heres my Code Goodluck lol any how the if statement works but always coming up true not false dont understand why [CODE]$_POST = valid_post($_POST); $i=1; $i4=1; $result4 = mysql_query("DESCRIBE ".$table2.""); while($row4 = mysql_fetch_array($result4)) { $test4 = mysql_num_rows(mysql_query("DESCRIBE ".$table2."")); if($row4["Field"] == "id") { print''; } elseif($row4["Field"] != "id" AND $i4 != …

Member Avatar for diafol
0
98
Member Avatar for rajeesh_rsn

I had a php server and a directory named "images" in it. I need to change the folder's permission to 0777 via php script.... I had the code like this [CODE]chmod('/images',0777);[/CODE] But It will give the following results... [CODE]Warning: chmod() [function.chmod]: No such file or directory in /home/keralaba/public_html/bkp3/new.php on line …

Member Avatar for almostbob
0
139
Member Avatar for gpittingale

Hi there seen as i have come acustom for asking for help here i was wondering if any body could give me a basic example of a mathamatical function that calls array's from mysql to a php script and then does a basic maths sum with them would appreciate the …

Member Avatar for diafol
0
63
Member Avatar for rajeesh_rsn

Hi I need to do a image upload script using PHP. Please let me know how can I do it with directory permission 0755... Please help me...... My code is working if I change the directory permission to 0777 in which images are saved .. Please help me... Thanks Rajeesh

Member Avatar for diafol
0
58
Member Avatar for khr2003

hello I am trying to make a script that can upload multiple files (currently I set it to five). I made the form look like this: [CODE]$i = 1; while ($i <= 5) { $form .= "here goes the content of the form"; $i = $i + 1; }[/CODE] I …

Member Avatar for diafol
0
264
Member Avatar for rajeesh_rsn

Hi I had a community web site and I need to show "Recent Visitors" under a profile ( just like in Orkut ) I do it successfully and that will show in the page like this ... Name1, Name2 , Name3 .. But I need to make link in each …

Member Avatar for Andrieux
0
181
Member Avatar for smhnaji

Hello friends As you know, the way to manage the code that you write, is very importnant. By manage, I mean that you have a good way to know where to control the core of the project, the objects' act, and managing separating view from object core. As I've reasearched, …

Member Avatar for death_oclock
0
119
Member Avatar for rupesh Patil

i have crated web page usng netbeans .. in my php code i have fetch the data in array now i want that data to be pass that data in js file which in that project please help me...

Member Avatar for rupesh Patil
0
147
Member Avatar for LTT

Hello! Wondering if someone could give me a hand.. Im looking to make a form kind of like this one.. "http://www.nvidia.com/Download/index.aspx?lang=en-us" Where the fields change depending on what is slected.. I would like to link the values of the of the form to a mySQL DB. So the form when …

Member Avatar for LTT
0
241
Member Avatar for anuspan

hello everyone, im using php 5.2.6 , apache 2.2.10 and mysql 5 for my server.everything works fine excepts sessions.i have configure the php.ini file for sessions.but still its not working.im using windows platform.can anyone help me to settle this?

Member Avatar for anuspan
0
122
Member Avatar for sacarias40

i am designing a few pages. the pages have a few main divs and that is how i am inserting the background(with css) i can render the whole background to the browser but i dont get how to nest divs inside divs with OOP. any help would be greatly apreciated! …

Member Avatar for sacarias40
0
119
Member Avatar for Aamit

Hi, In my $str="DAniweb it DISCUSSION Community" I want "Each First" character is capital and rest of lower case " If String is $str="[COLOR="Red"]DAniweb it DISCUSSION Community[/COLOR]" Ans-> [COLOR="Green"]Daniweb It Discussion Community[/COLOR] How to do this??

Member Avatar for Andrieux
0
155
Member Avatar for Maidomax

Hi! I am creating a simple website, and I would like to have an option on one page to print the contents of the page by clicking a button, or seeing it in PDF format by clicking another. What is the simplest way of doing this? Mladen

Member Avatar for Yayo_SK
0
143
Member Avatar for Ragnarok

I have been working on flatfile and directory system in PHP and not that I have got the script working I want to make it more secure. What I have is one directory with sub-directorys insided them and insided the subdirectorys are about 20 files each. Forexample: [code]directory/ sub1/ sub2/[/code] …

Member Avatar for Yayo_SK
0
173
Member Avatar for anchal

i hav a problem m new to php nd i started with writin my first page but whenever i start my browser i see the complete code and nt the output i need i wrote [code=php]<html> <title>my php page</title> <body> <?php echo "hello there!"; ?> </body> </html>[/code] the output is …

Member Avatar for Yayo_SK
0
177
Member Avatar for NEPHILIM

How are you all. I have set up a PHPBB Forum with Version 3.0.0. software. I saw a PHPBB3 (Version 3.0.0) skin on phpbbhacks. I downloaded the Zip file to my C drive, and extracted the file with 7zip to folders.I used WS FTP client to upload the files and …

Member Avatar for mtvnot
0
226
Member Avatar for Ravigandha

Hello Guys, My problem is when i am attaching files and sending in mail through PHP code everything is working fine and i am getting attached files to email. But if the destination address is of yahoo or hotmail then they the attached file is not displaying. It is displaying …

Member Avatar for lordspace
0
159

The End.