39,388 Topics
![]() | |
Hi Guys, I'm working on a project and modifying it's code, I'm new to php, what I want is to speed up the process of the program, before it works like this, there is a page containing all the ID of purchase request, then there is a link to another … ![]() | |
Hello, when I try to enter to the **PHP forum** (but also in the others under **Web Development** section) I get redirected to a malformed url: http://www.daniweb.com-development/php/17 I tried also with curl: curl --head http://www.daniweb.com/web-development/php/17 HTTP/1.1 301 Moved Permanently Date: Tue, 18 Dec 2012 15:31:11 GMT Server: Apache/2.2 Location: http://www.daniweb.com-development/php/17 … ![]() | |
I am trying to setup a custom image hosting solution for a phpbb forum. I know there are ways to host images on the forum but for my purpose I must use an external website to host the images. I already have a custom image hosting script written and functioning … ![]() | |
Hey all, iam new at PHP and i have a question. I do a select-query in mysql. $sql = "SELECT name, street, city, y,m,d, email FROM player WHERE `name`= '".$name."' or `city`= '".$city."' or `y`= '".$y."'"; The result i paste in a table like this. while($row = mysql_fetch_array($result)) { .... … | |
I need to include a simple contact form in either the sidebar or footer of an existing website so it appears on every page. This is not a WordPress site, I have seen there are several plugins for WordPress. I need a different solution. I am thinking a php include … | |
One of my server has $_SERVER['HTTP_CONNECTION'] is set to close need to set it to keep-alive in my phpinfo() any idea where to change that? | |
Hi.. I used the following code to download a file from fedora 14 FTP configured(VSFTP) to local machine(Fedora 14). The same code worked fine in windows machine. In fedora machine it listing all the files,but not downloading the files.Showing the error like following "There was a problem". <?php $countfiles = … | |
I'm using the exact code snippet (Step 1 of the Simple Version) from this page hosted by the developers of BreezingForms for Joomla!, modified only to have the correct table and field names, and the name of the select list in the form: http://crosstec.de/media/kunena/attachments/59203/BreezingFormsscriptdev.txt All I want to do in … | |
Why do I get the following error? and How to fix? Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in/home/gaogier/public_html/pages/monsters.php on line 217 If i add the or die part, I get this message. You have an error in your SQL syntax; check the manual that corresponds … | |
My code technically works, as it registers the user, but it won't keep the user logged in. (yes, once a registration is successful, they should be logged into their new account). It should go right to the index page on success and have the user logged in. On failure it … ![]() | |
add user.php <?php include '../_class/_class.php'; $obj = new modernCMS(); //Setup connection vars $obj->host = 'localhost'; $obj->username = 'root'; $obj->password = ''; $obj->db = 'cms'; //connect to db $obj->connect(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <link href="css/main.css" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>DCJR … | |
Here is my code: <html> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>inner_pages</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> .divTagContent { background-color: #F9FBFA; height: 367px; width: 691px; overflow: auto; } .divScrollLinks { background-color: #F9FBFA; height: 370px; width: 205px; overflow: auto; } </style> <script type="text/javascript"> function MM_swapImgRestore() … | |
How to show some content from other sites on my web sites, and when other site change content then change also in my website? Please help! ![]() | |
hi i have a table in which m storing some data like in the following: table => uploads string_file and file_name and m trying to select the string_file. the data for this column is like in the following; ab323892,416a75f4, e732ced3 and blah blah. and following is the query that m … ![]() | |
I'm using phpbb forum and I would like to know how I can allow my members to incorporate a blog rss feed? Thank you in advance! | |
<div id="hedar_main"> <div id="hedar1"> <?php include('menu.php')?> </div><!--end of header1 --> </div><!--end of header-main --> </div><!--end of header --> <div class="rightdiv"> <?php include('local_auth.php')?> <?php include('news.php')?> <div class="midal_right"> <center><div class="divimg"><img src="images/home_img1.jpg" /></div></center> <center><div class="divimg"><img src="images/home_img2.jpg" /></div></center> </div><!--end of midal_right --> </div><!--end of rightdiv --> <div id="futter"> <div id="futter_main"> <div id="futter1"> <?php include('footer.php'); … | |
actually i'hd saved the form data in local by using sysphus a jquery plugin and this is my code to save the form data in local storage.is it possible to retrive the all data at once using php Or jquery. can u please help me to retrive the stored data … | |
<html> <head> <title>Nutrient</title> </head> <body> <? $filName = "resource.txt"; $objWrite = fopen($filName, "w"); $objConnect = mysql_connect("localhost","u52030177","guillaume") or die("Error Connect to Database"); $objDB = mysql_select_db("u52030177"); $strSQL = "SELECT * FROM Nutrient"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); //$link = mysql_connect("localhost","u52030623","u52030623"); //mysql_select_db("u52030623"); mysql_query("SET NAMES UTF8"); //$sql = mysql_query("select * from … | |
this part is i am un sure what its doing. while($row = mysql_fetch_array($sql)) { $id = $row["id"]; } why cant i do this? $row = mysql_fetch_assoc($item_query); $id = $row['id']; this is my login in script. full code //BINARY for case sensitive $sql = mysql_query("SELECT user_id FROM user WHERE user_name='$username_p' AND … | |
Im trying to open a txt file to write into it . heres the warning : Warning: fopen(C:\inetpub\wwwroot\testFile.txt): failed to open stream: Permission denied in C:\inetpub\wwwroot\get.php and heres the code $fh = fopen("C:\\inetpub\\wwwroot\\testFile.txt" , 'w'); fwrite($fh, "PHP"); what am I missing ? | |
I didn't post this in the regular IT jobs folder because this is strictly PHP/MySQL. I am creating an online community (friend/dating/boredom site) which will rival those such as myspace.com and facethejury.com. At current time the whole user database is complete, which includes the ability for users to create profiles … | |
i'm trying to make an autocomplete that will display the name of files in a folder. The autocomplete is ok except the part that it only display for the last file name. your help and suggestions much appreciated! =) code to open the folder and list the excel file names. … | |
Its not a BETA or RC release, but it is up right now. Unsupported and still under work, phpBB 2.1.2 (Version for phpBB 2.2 testing board) is up right now. It has a sleek smooth new interface with a new profile backend. If your looking forward to a great User … | |
Hello friends, In drupal 7 I have created a new form in theme.inc as follows: <?php function mymodule_example_form($form, &$form_state) { $form['Looking For']['PropertyCategory'] = array( '#type' => 'select', '#title' => t('Looking For'), '#options' => array( '' => t('Any'), Commercial => t('Commercial'), Residential => t('Residential'), ), ); $form['Type of Property']['PropertyType'] = array( … | |
![]() | is it possible to automaticly generate unit tests without the skeleton generator? or is there a way to install the skeleton generator for php versions lower than 5.3? ![]() |
HI Everyone. I am not new to programming, but I have just started to work with vB. I have been around vB.com and vB.org and neither really have a good how-to on starting your our hacks and using the vB page shell. Maybe, I missed it... But, I want to … ![]() | |
Hi everyone, When I type http://clontarf.girlsacademy.com.au/News-2012-Academy-Awards-53.html into my web browser I get the following error message: "Not Found The requested URL /News-2012-Academy-Awards-53.html was not found on this server. Apache/2.2.22 (Unix) mod_fastcgi/2.4.6 mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.3.13 with Suhosin-Patch mod_wsgi/3.3 Python/2.7.2 Server at clontarf.girlsacademy.com.au Port 80." How can I fix this? Cheers … | |
I am getting 425 http error unable to connect to remote system in the LAN whish has the application server and database server running..... i tried to ping from the reverse....but got request timed out.. i tried the loopback to local testing but would carry out remote testing ....from LAn....some … ![]() | |
I have a linux box which i am trying to install PHP on bit the problem lies after i succesfully configure php and try to run make it tells me there is no make file and indeed when i check it i see that there is no make file only … ![]() | |
How would i go about parsing an atom feed in php? and how would i construct one also;) ![]() |
The End.