39,320 Topics

Member Avatar for
Member Avatar for itisnot_me

Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to …

0
40
Member Avatar for ayuscomeyh

add.php [code] <?php include 'recipe2db.php' ?> <div align="left"><img src="Cookie Banner edited.jpg" width="1100" height="200" /> <form name="form7" method="post" action="add_process.php"> &nbsp;</p> <p>&nbsp;</p> <table align="center" border="3" cellpadding="2" cellspacing="2"> <tr> <td>catagory :</td> <td> <?php include 'recipe2db.php'; $query="SELECT id_category, category_name FROM category"; $result = mysql_query ($query); echo "<select name=category value=''></option>"; // printing the list box …

Member Avatar for itisnot_me
0
92
Member Avatar for sarithak

Hi frnds... from last 3 days i am struggling on same errors...i tried my level best..still i cant get it....this is my code... [CODE] $bottomline=stripslashes($_POST['bottomline']); or if(!file_exists($dir)) mkdir($dir)or die("Filename all ready exits"); [/CODE] when i inserting the data into table or creating directory i am getting error... [CODE]You have an …

Member Avatar for sarithak
0
99
Member Avatar for maxicube

hey all, been a while since I've been on here. I was wondering how I could make an rss reader for twitter, and make it so that it displays the content of my 'twit' and nothing else (like time/date ect.) Thx in advance, Maxicube

Member Avatar for maxicube
0
103
Member Avatar for brentv911

Hello, I'm looking for a way to make a simple multi line text box in PHP. I am trying to make a text box a couple thousand characters log. but when i try to create it, it just makes a very long text box. I can't seem to find any …

Member Avatar for Josh Connerty
0
194
Member Avatar for Newbi

Hi i am fairly new to php and am trying to make an application where some1 enters a unique id which brings up a form with data in it retrieved from the database. the user should then be able to edit the information and submit & the details changed in …

Member Avatar for Newbi
0
199
Member Avatar for dwdata

I have one page that has several form actions: [CODE]form action="maze_enter.php" method="post" enctype="application/x-www-form-urlencoded" name="finance" target="_self"> <tr> <td colspan="2" align="center" valign="middle"><span class="style11"><a href="#" onclick="document.finance.submit();return false;">Enter Maze</a> </span></td> </tr> </form> <form action="maze_enter.php" method="post" enctype="application/x-www-form-urlencoded" name="shop" target="_self"> <tr> <td colspan="2" align="center" valign="middle"><span class="style11"><a href="#" onclick="document.shop.submit();return false;">Enter Maze</a> </span></td> </tr> </form> [/CODE] I want …

Member Avatar for kireol
0
131
Member Avatar for NoID

Hello guys, after some searching and playing around and ofcourse with alot of help. i have got this code, which basically GETs ID from browser and then sends them an email, but why isnt it working, can some one please show me why. thank you [code=php] <?php $con = mysql_connect("localhost", …

Member Avatar for diafol
0
82
Member Avatar for arvindikchari

Hello I have a ticket helpdesk script that I am converting to make it completely skinnable. For this, there is a file called header.php which includes the link to a css file. The code is below [code] <link rel="stylesheet" href="<?php print $GLOBALS["URL"];?>/templates/gothica/aquarius.css" type="text/css" /> [/code] I want that the path …

Member Avatar for diafol
0
153
Member Avatar for star69

Hi, I am trying to do my terms and conditions and I had trouble with this error it kept saying on line 68 I went to it and there was nothing I could see wrong, so I started all over again put it in a fresh and now it is …

Member Avatar for star69
0
179
Member Avatar for CFROG

I'm working on trying to approve photos that get posted. It works fine, but to keep files with the same name from overwriting each other I went with assigning them a random number. The problem is that even if a file is not uploaded it still writes a random number …

Member Avatar for CFROG
0
88
Member Avatar for whitestream6

Thank you for the tutorial last time on query strings :) It worked for me, this is my working query string: [code=php]<? $i=$_GET['vehicle']; switch ($i) { case Chrysler: include("chryslernew.php"); break; case Chevrolet: include("chevnew.php"); break; default: echo "include ("nopage.php")"; } ?>[/code] However, I'm trying to get my PHP URLs with query …

Member Avatar for whitestream6
0
218
Member Avatar for zeusofolus

I have a query that is returning customer data. I want to pass the $row['VisitorID'] Value on using the _GET _POST superglobal in two different links one that goes to a page to edit users profile and one that edits the users order preferences. I can get one or the …

Member Avatar for zeusofolus
0
136
Member Avatar for K?!

Hi all I would like to start debugging and have been doing some searching on the web, but everything I find is pretty complicated. (I'm just starting to learn web developping) Does anyone know where to find good, plain, correct instructions, for setting up my environment for debugging? I'm using …

Member Avatar for K?!
0
148
Member Avatar for talisien

[CODE=PHP] <? // This is the directory to list files for. $theDirectory = "upload"; // without the / // Do you want to show directories? change to false to hide directories. $listDirectories = false; if(is_dir($theDirectory)) { echo "<table>"; echo "<tr>"; $dir = opendir($theDirectory); $counter = 1; while(false !== ($file = …

0
71
Member Avatar for heroic

i am trying to make a small search script, but i cannot get it to search for a particular keyword that may end in a space... my input string is like... amit qby:name hello i want the preg_match to gimme qby:name another input string can be amit qby:name i can …

Member Avatar for pritaeas
0
43
Member Avatar for jbd4d

so i have a program that is supposed to update a table called master by increasing the clicked field by 1 for every time the email shows up on a second list (tempop); it worked fine when i tested it on a small dataset - the tables were 5000 and …

Member Avatar for pritaeas
0
51
Member Avatar for skipbales

I read all the thread on a similar post from 2006 but did not find an answer there. I can not redirect on my localhost (Apache) or on my hosted site (Apache). I was using a function created in a php course I took then switched to a basic piece …

Member Avatar for skipbales
0
87
Member Avatar for veledrom

Hi, I use [inlinecode]header("Cache-Control: private");[/inlinecode] to prevent page expiry problem. It is to make browser’s “Back” button work otherwise; page expires if user hits “Back” button to go back and see previous pages. I have 3 steps buying process. 1. Delivery address selection from radio boxes 2. Creadit card details …

Member Avatar for veledrom
0
89
Member Avatar for saveyourtime

Does anyone know how I would go about searching through an array for repeated values and return the one with the smaller index? For example: $array[0]= "timmy"; $array[1] = "joe"; $array[2] = "elmo"; $array[3] = "clarissa"; $array[4] = "joe"; I need a function that will return "1" if I do …

Member Avatar for somedude3488
0
75
Member Avatar for penepepe

Hi there! I'm very new to php and I'm trying to send an email with an attachment from my localhost. I have only managed to receive simple emails but not the attachment so far. Is there a particular problem with localhosts and attachments or it's just my scripts? (i've tried …

Member Avatar for chrishea
0
76
Member Avatar for matkene

Pls, i am installing claroline and this is displayed on the browser WARNING ! SYSTEM UNABLE TO FIND CONFIGURATION SETTINGS. What can i do?

Member Avatar for pritaeas
0
44
Member Avatar for K?!

Hi all I'm used to programming in Java, which does support method overloading. So when starting to use PHP, I quickly found that this was not supported in PHP. But why and how is this supported with "system methods" (I don't know if that name is correct) like, for example, …

Member Avatar for K?!
0
121
Member Avatar for jino

Dear All,, I have a search query for searching 40 fields that are belonging to 5 different tables.. I have used INNER JOIN for this purpose... I have stored the search conditions into a $string variable and the result is getting correctly.. Here comes the problem.... I want to paginate …

Member Avatar for kashif farooq
0
140
Member Avatar for NoID

Hello Guys, i am currently using my localserver dont have a hosting where i can test it, so i would like to know if this basic idea will work or not. Here is the code do you think if i enter the ID it will get the email and then …

Member Avatar for NoID
0
119
Member Avatar for sandeep.nami

hi guys i have seen this new line of code and surprised! mysql_connect('localhost','root','') or testFun(); i know that this is used in db connections i want to know all the applications of 'or' guys plz help me

Member Avatar for samarudge
0
77
Member Avatar for BigDan531

okay guys ive got this page in which i want to verify the key that the user inputs with the key in my sql database, and then it updates a row called user_okay when i click on the enter button. [code] <?php session_start(); include ('dbc.php'); //if ($_POST['Submit']=='Enter') // { $keys …

Member Avatar for pin8marian
0
96
Member Avatar for vtek

From what I can gather on the internet this is a fairly easy piece of PHP script but success is eluding me. Maybe im missing something really small like punctuation or an uppercase letter or maybe its something else. Im wondering would it be possible that theres conflict between java …

Member Avatar for jagadishwor
0
104
Member Avatar for BigDan531

Hi all i need some help with my code. i have a page where i want to update a row 'key' in my table users with a new value that i have generated. dbc.php [code] <?php $dbname = 'phplogin'; $link = mysql_connect("localhost","root","") or die("Couldn't make connection."); $db = mysql_select_db($dbname, $link) …

Member Avatar for kvprajapati
0
83
Member Avatar for Allison2009

Hi, We have developed a website, viz., [url]http://www.plussizebeauties.com[/url] for plus size women. This website is viewed best in Mozilla Firefox. But when you view this in IE, the top alignment is not coming accurately. Could anyone suggest reasons for this, so that I could correct my website. Thanks in advance …

Member Avatar for Allison2009
0
72

The End.