39,323 Topics

Member Avatar for
Member Avatar for GraficRegret

ok so I am trying to create a login page for my website, however after following a tutorial on creating all the functions and calls and everything I need to in order to get it up, I upload it to my server and when I try to test it the …

Member Avatar for GraficRegret
0
100
Member Avatar for din3sh

I'm trying to create a php script to print fibonaaci series. The idea is to add a new number to the series everytime the page is refreshed and print the series. <?php if (!isset($_COOKIE["fno"])) {setcookie("fno",0,time()+3600);} if (!isset($_COOKIE["sno"])) {setcookie("sno",1,time()+3600);} if (!isset($_COOKIE["series"])) { $text="0 1 "; setcookie("series",$text,time()+3600); } $fno=$_COOKIE["fno"]; $sno=$_COOKIE["sno"]; $fibostring=$_COOKIE["series"]; //echo …

Member Avatar for broj1
0
251
Member Avatar for filch

Hello, been a while since I have been here but I am working on something that has me stumped and I have not been able to solve it nor find an answer that does what I need to do. I have a form that is usually sent to an external …

Member Avatar for diafol
0
231
Member Avatar for sri.

hai everybody i have a social media connection in my pagewhenever click the share button the first screen you see is an **'Allow Access?**' screen with a button for **'Allow'** or **cancel** (link). How do I get such a screen to display for my page? thanks in advance.

Member Avatar for LastMitch
0
121
Member Avatar for ganesh641

I am using curl function to login my web site using the Gmail username and password. Its working fine in my local environment but once i moving that file into my client server it returns the response **"HTTP/1.1 401 Unauthorized"**. provied some solution here is my curl function code for …

Member Avatar for veedeoo
0
5K
Member Avatar for giovannitao

Hello, Somenone that know osclass script, can hel me to customization search bar. I try to edit inc.search.php but I don't know how can I obtain this result: [Click Here](http://i50.tinypic.com/3537gwi.png) In this search bar tou can see 3 menus: What, Where (with city) and Category. Thanks to all

Member Avatar for gon1387
0
585
Member Avatar for showman13

For some reason, every time I try to submit a question I get the error message that the code snippet in my post is formatted incorrectly.. I don't even have a code snippet. is it just me or is it something that happens to others?

Member Avatar for showman13
0
192
Member Avatar for missy_mi

i have and error : mysql_fetch_array() expects parameter 1 to be resource, boolean what should i do??where is the problem..??please suggest..Thank you in advance..

Member Avatar for broj1
0
178
Member Avatar for hwoarang69

getting a error at $item_id_g'. its bc of the quotes <?php echo" <button type='submit' onmousedown='func('$item_id_g');'>test</button> "; ?> i also tried this but didnt work <?php echo" <button type='submit' onmousedown="func('$item_id_g');">test</button> "; ?>

Member Avatar for broj1
0
118
Member Avatar for AARTI SHRIVAS

<html> <head> <title>Contact form</title> <script type="text/javascript" src="jquery-1.3.2.min.js"></script> <script type="text/javascript" src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script> <script type="text/javascript"> $(document).ready(function() { var RecaptchaOptions = { theme : 'custom' }; Recaptcha.create('your public key', 'recaptcha_image', RecaptchaOptions); Recaptcha.focus_response_field(); $('#submit_button').click(function() { $.ajax({ type: 'POST', url: 'coustomer_rgistration.php', data: $('form#myform').serialize(), dataType: 'json', beforeSend: function() { var resp_field = $('#recaptcha_response_field').val(); var name = $('#name').val(); …

Member Avatar for AARTI SHRIVAS
0
536
Member Avatar for Venter

hi actually iu'm fetching 5 question id from db and saved in an array. now i'm fetching questions and their respective options from database. so i'want to save the option in seesions or cookies when ever user selected. this is my code for fetching questions & ANSWERS. public function display( …

Member Avatar for broj1
0
2K
Member Avatar for Motifaithed

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 …

Member Avatar for LastMitch
0
257
Member Avatar for cereal

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 …

Member Avatar for diafol
2
266
Member Avatar for dark_storm83

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 …

Member Avatar for diafol
0
280
Member Avatar for JokerTime

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)) { .... …

Member Avatar for broj1
0
201
Member Avatar for amyl

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 …

Member Avatar for amyl
0
230
Member Avatar for ganesh641

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?

Member Avatar for ganesh641
0
448
Member Avatar for divyakrishnan

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 = …

Member Avatar for pritaeas
0
196
Member Avatar for sethwcaton

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 …

Member Avatar for pritaeas
0
582
Member Avatar for honhito.troy

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 …

Member Avatar for pritaeas
0
120
Member Avatar for dancks

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 …

Member Avatar for Zagga
0
2K
Member Avatar for daniel.conlinjr.1

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 …

Member Avatar for daniel.conlinjr.1
0
519
Member Avatar for GraficRegret

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() …

Member Avatar for GraficRegret
0
143
Member Avatar for gogs85

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!

Member Avatar for diafol
0
158
Member Avatar for shahai.ali

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 …

Member Avatar for diafol
0
190
Member Avatar for gurlzlubme

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!

Member Avatar for broj1
0
248
Member Avatar for shilu2

<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'); …

Member Avatar for shilu2
0
340
Member Avatar for Venter

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 …

Member Avatar for gon1387
0
2K
Member Avatar for panatda.tokhume

<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 …

Member Avatar for panatda.tokhume
0
177
Member Avatar for hwoarang69

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 …

Member Avatar for pritaeas
0
126

The End.