39,323 Topics
| |
Hello guys, I have a simple form with 2 input fields (name, age). On submit the values should be sent to the php file where I print them. The problem is that on submit the php file is not rendered - IE just shows me the php code, Mozilla doesn't … | |
Hello all! I came here through Google searching for PHP load balancing... and got to this thread: [url]http://www.daniweb.com/forums/thread171839.html[/url] I am trying to do something similar, but what I'm trying to do is a one time, one day, quick and cheap load balancing solution using PHP. The idea is to use … | |
This is my script, which is intended to show a different page depending on day of the week. [CODE]<html> <? error_reporting(E_ALL);?> <body> <? $i=$_GET['day']; switch ($i) { case 0: include("2.php"); break; case 1: include("3.php"); break; case 2: include("4.php"); break; case 7: include("5.php"); break; default: echo "page not found!!!!"; } ?> … | |
hi guys ,im trying to send serialized php object to c++ server. i dont have clear idea if it is possible to deserialize the php object in c++ code.i dont know how to convert it into c++ object and get the value out of it. when im running the server … | |
i have this apache-php server runing with some php and mysql apps.. I also have this application that uses java and one module is running through RMI, and its automatically started by the init.d using a shell script... then it's visible through a port (which is configured on the module … | |
I have little upload script and i wonder how to rename a file if the file with same name already exists. | |
I am currently working on a php site that pulls in data from a MySql server, Unfortunately the code I'm using to run the query to get the data from the server is causing a nasty parse error on my site, and I am having extreme dificulty sorting it out. … | |
hii everyone... i am working on a webpage as my class assgnmnt nd using php-mysql for that.. plz guide me how this thing can be done?? i want to add some thing in a table and if there is a table of same fields(columns) that i want then add in … | |
[code]<?php $tags = get_meta_tags('http://www.realgm.com/'); echo $tags['keywords']; echo $tags['description']; ?> [/code] i just used any website.. i can't get the meta tags though... what am i doing wrong? i get these error messages.. Warning: get_meta_tags() [function.get-meta-tags]: URL file-access is disabled in the server configuration in /home/ustackc1/public_html/menu.php on line 78 Warning: get_meta_tags([url]http://www.realgm.com/[/url]) … | |
Hello, I am developing a site with Dreamweaver CS3 and have a little knowledge of HTML. I need a solution for the following: Visitors can come to my site through a referrer for ex: [url]www.domain.com/?ref=cesar017[/url] The referrer’s information (cesar017) should be prefilled automatically in a form field on another page … | |
I need some help in architecting this process. Two goals are of the utmost importance: 1) Speed 2) Security. Here's the scenario: Domain A, Domain B, ... Domain Z sell a service to their customers on my behalf (keeping a commission). Once the transaction is processed (money collected from the … | |
Hi I m making web page and for that i am using mysql and php. In tha i enter data and that is to be stored in mysql database. I m having a problem in that. I want add, delete, previous, next, cancel and update button in that. But can't … | |
Hey, I need to create a search engine that searchs through a database but the wild card doesn't work for me: [code] <?php include ('header.php'); $s = $_POST['search_term']; $by = $_POST['by']; if(!$s && $by) // Check that the details are entered correctly { echo '<p>You have not entered the required … | |
Can anyone recommend a course for a php beginner, ive been doing alot in html and a few bits of search and forms stuff in php which has all been self taught but i want to go on a course to confirm really that im doing stuff right can anyone … | |
i need help with the code below.. the code does not get correct qid from table questions. let say i enter 2 qtitle, and each qtitle has 3 atitle.. but once the data entered in database.. the error is like below: (qid=1)qtitle1- (none of the atitle having qid1) (qid=2)qtitle2- atitle1, … | |
hello, plz help me by desighning a website about electronic musuem. there are links to make relations between parts in there. how to code in php such these links??? | |
This is my code - which displays different articles and produces articles as [url]http://www.mysite.com/testpage.php?test=1[/url] [CODE]<html> <body> <? $i=$_GET['day']; switch ($i) { case 1: include("2.php"); break; case 2: include("3.php"); break; case 3: include("4.php"); break; default: //echo "page not found!!!!"; } ?> <!-- <? if($_GET['day']==1){ ?> <?php include("2.php") ?> <? }else if($_GET['day']==2){ … | |
Hi there everyone. I have a problem with some PHP. I have to make a xml feed that works in IE in UTF-8 format and I'm having major problems with £ signs and '. the poud signs are in the mySQL database in their £ format and cannot be changed. … | |
I'm having problem with the script below. The [B]atitle[/B] getting the [B]qid[/B] from the last question inserted in the table. I need to have [B]atitle[/B] with the corresponding [B]qid[/B]. for example: qtitle (qid=1) - atitle (qid=1) - atitle (qid=1) qtitle (qid=2) - atitle (qid=2) - atitle (qid=2) can anyone please … | |
Hey Im trying to send an email with PHP. but Im using ajax to load all my pages So i dont want to disrupt that flow by having the page refresh when you hit submit..I just want it to be like loading and then echo Thank you or something. Here … | |
Hi Guys, I am searching for Open Source Finance scripts such as Account Payable, Account Receivable, General Ledget etc in PHP. But I could n't find a good one. Is there any such open source scripts in PHP available over the web for download? If so, could you please give … | |
I am cycling through a return set and trying to capture the result in a concatenated string. I have verified that I get a valid return value and also verified the quantity in the return value. This works [code] while ( $i < $num) { $bone .= "<item> <record_num>" . … | |
Hello guys. In this project i am involved with we want to list some columns from a sql database. We want to list them as a table which you can make changes to, but the first two should be edited through dropdown and and the other two which are dates … | |
To create the registration account in my homepage, do I need to set up a database to store all usernames and passwords? If I do, how to set up the database on the unix server where my homepage is on? | |
[B]i am working with PHP i just want to know what is the framework like ZEND or CakePhp Is it Useful or i still devlop from scratch and i need to know which framework is the best & i need any vedio tutorial for it Thanks all[/B] | |
I found the following code in a tutorial on building a RSS feed. I can’t find a reference to the “<<<” on the PHP manual web site. Would someone point me to the documentation on this symbol. [code] <? $content = <<<CONTENT <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"> <channel> <title>$chan_title</title> <link>$chan_link</link> … | |
My form worked, but when i put lastname(lname) field won't work [CODE]<?php include "connect.php"; echo "<h1>Register</h1>"; ?> <div style="color:#F00"> <?php date_default_timezone_set('Europe/Zagreb'); date_default_timezone_get(); ini_get('timezone.default'); getenv('TZ'); $num = 0; $submit = $_POST['submit']; $fname = $_POST['fname']; $lname = $_POST['lname']; $username = $_POST['username']; $email = $_POST['email']; $password = $_POST['password']; date_default_timezone_get(); $date = date("Y-m-d G:i:s"); … | |
Hi! Does anyone know of a good tutorial for installing Ruby with Php, Apache and MySQL. I have tried InstantRails but i want to install it without using the instant option! Thanks. | |
I am writing a script to add and edit listings in a realestate site. For some reason I can't get the variables from the url to recognize properly. heres the "problem" part of the script: [CODE] <?php require_once "../dbconnect.php"; // include the database information // if the 'mode' is set … | |
I have 2 pages right now. One is list.php, the other one is detail.php. The list.php is a table generated by mysql data. i add a column called "detail" at the end of each row. Everytime i click "detail", it redirects to detail.php and display a form according to the … |
The End.