39,316 Topics

Member Avatar for
Member Avatar for xuexue

the program works with localhost, however, when i use the same program in my web server, it does not work, the error says: Error Uploading file, this is the code [code] $phType = $_POST['phType']; $phCustomer = $_POST['phCustomer']; $phModel = $_POST['phModel']; $phStatus = $_POST['phStatus']; $phDateDue = $_POST['phDateDue']; $phStatus = $_POST['phStatus']; $phNG …

0
86
Member Avatar for BlackPhoenix

Hi, Is it possible to have Flash query a MySQL database, retrieve the data, and then do whatever it wants with the data (stored in a variable, or displayed to the screen in a text box perhaps) ? Is it challenging? If I can achieve this, I could perform a …

0
43
Member Avatar for nihilnovi

So been sitting with this problem all week, can't figure it out. Need to make a automatic parser that converts xml in this format: <?xml version="1.0" encoding="UTF-8" ?> <open_marine version="1.7" language="english" origin="Companyname" date="ISO 8601 1250016600"> <broker code="MIB"> <broker_details> <company_name>Company name</company_name> </broker_details> <offices> <office id="1"> <office_name>Moore International</office_name> <email>mail@mail.com</email> <name > <title …

0
29
Member Avatar for tom_naza

Hi all, greetings from Portugal. I know, there is a "Supplied argument not valid resource" FAQ, and I know there are allready a few threads about this, but after reading them and hours of changing code I still have my problem... (Yes, I'm a newbie :-) ) [U][B]Warning:[/B] mysql_num_rows(): supplied …

Member Avatar for slyme
0
150
Member Avatar for teajay99

Hi Guys, I'm afraid i am a complete novice when it comes to XML but know PHP pretty well. I have a form located here.. [URL="http://clientel-transit.co.uk/life-assurance/mortgage-protection.php"]http://clientel-transit.co.uk/life-assurance/mortgage-protection.php[/URL] which sends values to a third party server and returns the quote values in XML. I have also been sent the following file available …

Member Avatar for Bojero
0
60
Member Avatar for Hillary12

I have a form that outputs data to a mail but the checkboxes output nothing.This is my php code. Any help please [code=php]<html> <head> <title>Palm Safaris and Logistics:Bookings</title> <meta http-equiv="refresh" content="2; URL=http://www.palmsafaris.com/booking/bookings.shtml"> <meta name="keywords" content="automatic redirection"> </head> <body> <?php /*$game_viewing='unchecked'; $gorilla_trekking='unchecked'; $chimp_trekking='unchecked'; $hiking='unchecked'; $mt_climb ='unchecked'; $water_rafting='unchecked'; $Cultural_tour='unchecked'; $murchison_falls_NP='unchecked'; $QE_NP='unchecked'; $bwindi_forest='unchecked'; …

Member Avatar for slyme
0
82
Member Avatar for veledrom

Hi, i wanted to remove .php and place / but, it doesnt work. I get "500 Internal Server Error" message. [code] RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^([^/]+)/$ $1.php # Forces a trailing slash to be added RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$ RewriteRule …

Member Avatar for veledrom
0
84
Member Avatar for gagan22

HI all, I am working on webdirectory in php. There are many links of many websites. Now i want to make that when any one take cursor on that link then it should show a thumbnaill of that website or snapshot of that website. I want to do that . …

Member Avatar for pritaeas
0
143
Member Avatar for thegreatdanton

Hi, i'm wondering how do i convert a TIMEDIFF to a string? Basically i have a database with a "tomorrow time" (timestamp + 24 hours) in it, which shows the time 24 hours from the exact time that the data enters the database. I have the "time left" printing out …

Member Avatar for blocblue
0
84
Member Avatar for aerliana

i need to count how many user that update their profile n how many user not update their profile within 5 years. and if the user not update their profile then i need send an email as alert notification.

Member Avatar for almostbob
0
112
Member Avatar for johny321

I am new to PHP & i am looking to develop a site using php can any one help me

Member Avatar for plut0564
0
111
Member Avatar for mrcniceguy

i want to know,how is it possible to check automatic all the checkboxes generated in php while page loading. i mean if the are for example 20records then all to be checked.

Member Avatar for mrcniceguy
0
92
Member Avatar for harinatha.php
Member Avatar for harinatha.php
0
49
Member Avatar for agrophobic

G'Day, the following code works as intended but on the first load of the page a syntax error occurs: [I](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 'where Suburb =' at line 1)[/I] …

Member Avatar for Graphix
0
223
Member Avatar for BigDan531

Hi guys ive got a problem with my mail() function. [code] if(mail('$email', 'test', 'test message')) { echo('ok'); } else { echo('not ok'); } [/code] im trying to test this out. ive tried manually inputting the email e.g. [email]12345@hotmail.com[/email] the email is sent and i can receive it. However, when i …

Member Avatar for BigDan531
0
254
Member Avatar for dweddi

Hello, I am trying out to construct a performance monitoring system (par tof my project at college), I am now trying to create the pages for reports and wish to refine even further with a reporting tool that can display for me performance of staff in a newsroom. I am …

Member Avatar for dweddi
0
152
Member Avatar for mundetas

Can someone please help. I have a rollover image and when you click it takes you to a page. But I want it to remain on the same page. I want it to display data from a db. But should appear on the same page where the button is. So …

Member Avatar for Menster
0
133
Member Avatar for vanessia_1999

I am busting my brain with this. It seem simple I tried it a few ways and it is not working how I want it. I would like for example the return policy document to be in the main content box of my page only when a person click on …

Member Avatar for pritaeas
0
193
Member Avatar for david777

hey how do i start learning PHP??? RESOURCES DONT KNO plz comment thankss

Member Avatar for jay_412
0
83
Member Avatar for balagod

Hai, I want to read excel file and store the data into mysql. my excel file contains special symbols like ∫,Ω,√ ... (all physics formulas). I used phpexcelreader from pear.but this symbols are not reading correctly. it shows as rectangle box. please provide a solution for this to resolve.

Member Avatar for balagod
0
91
Member Avatar for otakua

So Im editing a page on my site, and I tried to edit a code, because I got an error... cant remember what it is right now, but anyways, I changed it and got another error, something about unexpected T_DNUMBER? Well I decided to change it back, and now I'm …

Member Avatar for cwarn23
0
154
Member Avatar for Gearspro

Hello again daniwebbers ;) Wondering if you could help me out. I've been having alot of trouble trying to get a Bookmark us in the header section of my vbulletin forums. Theres an image of what i would like to do, down below in the file attachment section. If someone …

Member Avatar for Gearspro
0
126
Member Avatar for trtcom1

Hi there, I have 3 tables: Student ([B]studentNum,firstName,lastName,CourseName)[/B], course ([B]courseID,courseTotalCapacity[/B]), course_allocation ([B]studentNum,courseID[/B]). I have 3 courses, MATHS=101,BIOLOGY=102,CHEMISTRY=103. My form has the following: [CODE=html]<SELECT NAME="CourseName"> <OPTION VALUE="MATHS">MATHS</OPTION> <OPTION VALUE="BIOLOGY">BIOLOGY</OPTION> <OPTION VALUE="CHEMISTRY">CHEMISTRY</OPTION> </SELECT></td></tr> <SELECT NAME="courseID"> <OPTION VALUE="101">MATHS=101</OPTION> <OPTION VALUE="102">BIOLOGY=102</OPTION> <OPTION VALUE="103">CHEMISTRY=103</OPTION> </SELECT> [/CODE] I would like to have some kind of a …

Member Avatar for trtcom1
0
129
Member Avatar for quickbird

Hello, I am having a rich text editor in my website it works fine when formatting text like bold etc. but the problem is that when i retrieve data from database there is no bold, italic or underline etc.Please help me. you can find the script here. [URL="http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm"]http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm[/URL]

Member Avatar for quickbird
0
103
Member Avatar for rahul8590

i have currently 3 checkboxes. But the thing is i only want 2 of them to b processed i.e if check box 1 is checked then the 2 one must get blocked thus by preventing the user to check it. similarly vice versa. (this must be applied only to 1st …

Member Avatar for almostbob
0
127
Member Avatar for kishou

ok i cant seem to log in with a regualr password. this code works fine without md5 but it doesnt work when i use md5. yes i've already connected and selected database. $username = mysql_real_escape_string($_POST['username']); //so someone cant sql inject. [CODE]$ = mysql_real_escape_string($_POST['username']); $password = md5($_POST['password']); $result = mysql_query("SELECT * …

Member Avatar for Graphix
0
306
Member Avatar for itisnot_me

ok so what i am trying to do is make a script run like every hour or day that would restore a DB back to it original state. or even something like if i create an email system to send off emails at a certain time that it would run …

Member Avatar for itisnot_me
0
77
Member Avatar for borntowin_786

Hello Friends, I am new in using codeigniter.I am working on a client project.In this i have 1 form with fields like entering name, address along with 5 file uploading basically all images.Suppose while submitting a form an error occures then fields like name and address value can be retrieve …

Member Avatar for slyme
0
150
Member Avatar for rickya100

Hi everyone, I have tried finding out how to do this everywhere but I am coming up completely blank. I have content coming into my site that I have no control over and it has this symbol • embedded in it. I really want to remove it and I can't …

Member Avatar for leviathan185
0
153
Member Avatar for Gerald19

Hi, I ran into trouble trying to use the include function. Here's the code, which I think should work, index.html [CODE=html] <html> <?php include('head.php'); ?> <body> <div id="header"></div> </body> </html> [/CODE] head.php [CODE=html] <head> <title>Name</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> [/CODE]

Member Avatar for vincent2085
0
66

The End.