39,323 Topics

Member Avatar for
Member Avatar for bmackler

Hi there. I am having a problem with hebrew coming through on my php form mail script. Its a standard script that is taken from the original .pl script. I got it from [url]http://www.dtheatre.com/scripts/[/url] When the form comes through, the hebrew is gibberish. what do I need to change to …

0
66
Member Avatar for theimben

I have this... [code=php] <?php $links = explode("\n", $_POST['links']); foreach ($links as $links) { echo '[PART="NUM"]'.$links.'[/PART] <br />'; } ?> [/code] Where it says NUM I want the number of its position in the array. So if I fed this to this script: [CODE] http://www.google.com http://www.yahoo.com http://www.ask.com [/CODE] The script …

Member Avatar for almostbob
0
93
Member Avatar for aparnesh

I have developed a site in PHP 5.26, which is running perfectly from the development server. But after uploading the site to the Web server, it is not working. The server is running PHP 4.4. I haven't used any specific features of PHP 5, so the site should have worked …

Member Avatar for uncle_smith
0
145
Member Avatar for NoGood

Hi I'm creating an appointments system for a project using PHP and MySql. I want to be able to select the date of the appointment using a pop up calendar. Example of what i would like to happen: On my form i will have a date field which will be …

Member Avatar for NoGood
0
320
Member Avatar for lswan662

I am having trouble with some php code that was working fine on a unix server but when I try to move it to a Windows 2003 server I am getting errors like "Use of undefined constant x - assumed 'x' in ...". I am using PHP 5. Here is …

Member Avatar for lswan662
0
93
Member Avatar for cebubinary

i really can figure out how pagination works.. suppose i have 2 files ok.php and pagin.ph ok.php containts some details. [code=php]<?php echo date("Y/m/d"); echo "<br />"; echo date("Y.m.d"); echo "<br />"; echo date("Y-m-d"); echo"<br/>"; echo date("h:i:s" ,time()); $i=0; $display = 25; while($i<10) { $x=0; while($x<$display){ echo "$x hello World <br/>"; …

Member Avatar for mr.khurrams
0
77
Member Avatar for tracyn2k2

This code i use for my contact form. but when i received from my email This is result: [COde]Email: <br> Name: <br> Phone number: <br> Comments: <br>[/COde] This is PHP code. Can someone help me fix and explain why. Thanks for your support. [COde=php]<?php /* Subject and Email Variable*/ $emailSubject …

Member Avatar for cwarn23
0
70
Member Avatar for tracyn2k2

Hi everyone, i've just studied basic PHP and i usually study online. I wite this code for contact form.But i cannot find error and fix it-Because i'm new :-). Please help me. Thank very much [COde=php]]<?php /* Subject and Email Variable*/ $emailSubject = 'Email from Clients'; $webMaster = 'tracyn2k2@yahoo.com'; /* …

Member Avatar for tracyn2k2
0
129
Member Avatar for jakx12

ok so what i want this to do is to get the gallery name, then place it in a hyperlink, with the href including the gallery name so on the page im re-directing to i can use $_GET and get some information without a session etc. But there is nothing …

Member Avatar for ShawnCplus
0
111
Member Avatar for marcosjp

Hello! I created a simple CMS with PHP/MySQL and would like to make it easy for people to insert some formatting, such as bold, italics, underlined, links, etc., so that they don't have to know html code... What is the best solution to develop something like this? Javascript? Forms are …

Member Avatar for diafol
0
153
Member Avatar for gpittingale

Hi everyone, Could anyone tell me how to pull a set of arrays from a different php script (for example i have created a script and the first thing it does is pull a name of a village out of the mysql and show it, Now what i would like …

Member Avatar for diafol
0
111
Member Avatar for MDGM

Hi all, I need to save a number to 3 decimal points, however I want 10.3 to be saved like this: 10.3 not this: 10.300 varchar will not work because ORDER BY rating treats 10 as being lower than 9... So what datatype should I use? Thanks, Max.

Member Avatar for MDGM
0
90
Member Avatar for naju

if some users insert data like ";:<script><html>< // >@@#"; then i Sanitize this data to something like &quot;;:&lt;script&gt;&lt;html&gt;&lt; // &gt;@@ before inserting to db when i print this form db to html for inside <p> tag its cool but for inside h1 tag is prints as it is <h1>&quot;;:&lt;script&gt;&lt;html&gt;&lt; // …

Member Avatar for diafol
0
95
Member Avatar for khr2003

hi I have a for loop that extracts information from news websites and insert them into my database. How do I make the loop stops after it successfully inserts 5 rows?

Member Avatar for uncle_smith
0
56
Member Avatar for Stefano Mtangoo

Hello all, I'm starting PHP and setting up my server on Stick. I'm fond of WAMP and find XAMPP interesting, and want to give it a go :D However, if you have ever worked with WAMP it have a behaviour of displaying all folders in www directory, and I don't …

Member Avatar for pritaeas
0
88
Member Avatar for sureronald

I am working on a project that uses many html forms. I am using php5. How do I take a user back to a form with the values he had keyed in after he presses a submit button and the values sent to another script so that he may make …

Member Avatar for almostbob
0
63
Member Avatar for simplyV

Please help me find errors in this code, because it is not displaying what i requested. PLease answer A.S.A.P [code=php] $query = mysql_query("SELECT * FROM member"); $result = mysql_query($query); while ($row = mysql_fetch_array($result)) { if(mysql_num_rows($result) == 0) $result = mysql_query("UPDATE member SET flgCurrent = 'false' WHERE idMember =" .$row[0]); echo …

Member Avatar for simplyV
0
94
Member Avatar for Sheetu

Hello Readers, I need urgent help.Pls can anyone give me a demo of how to install PHP 5.0 for Windows XP on Apache Server or provide me a link wherein i can download both PHP compatible to Apache server.

Member Avatar for lordspace
0
62
Member Avatar for Stefano Mtangoo

I have my WAMP server on Vista but need it too on KUBUNTU so as I can use it even under linux. Can Anyone help me how to do it. I accept even how to separately install Apache, PHP and MYSQL. Pse help

Member Avatar for jbennet
0
184
Member Avatar for jakx12

ok so here is the code, this is for the search option on my site. However it only ever outputs: the else option. Whats wrong? [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(); …

Member Avatar for diafol
0
97
Member Avatar for Taosun

hello Everyone I was wondering if anyone can help me with a little php and mysql problem occurred to the CMS i am using. I have a function which is get data from a table after updating the table, the code is as follow: [code=php]public function getHtmlWrapper($id) { //get entire …

Member Avatar for diafol
0
120
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
109
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
81
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
169
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
86
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
123
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
36
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
130
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
67
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
386

The End.