39,402 Topics

Member Avatar for
Member Avatar for redmaverick

Hi guys, I need to pass a variable from a php page to another php page. There are two methods GET POST both involve user action like submitting by clicking a button or clicking a link How to send a variable without such user actions?

Member Avatar for deepakrajpal
0
2K
Member Avatar for sickpuppy18

Hello Hope you guys can help me. I have created a system that stores information using php and my dbase is MS Access.Currently im on the debugging phase since i finished all major development a while ago.Now im stuck because i need an incrementing 4 digit number.Can anyone assist me …

Member Avatar for sickpuppy18
0
90
Member Avatar for Sarao

Friends, I am trying to display data with limits from my MYSQL Records. It Shows the data, but it does not work with Next or Previous Page. Here is the code: [code] <?php // Connects to your Database mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("shipments") or die(mysql_error()); //This checks to see …

Member Avatar for Sarao
0
125
Member Avatar for sandm3n

Hi everyone, i'm newbie here just want to catch some knowledge here, i just wondering to know how to make link like mediafire download link, such as [QUOTE][url]http://www.mediafire.com/?eml6e0uxl3e[/url][/QUOTE] is that using .htaccess editing? thanks

Member Avatar for -==Zero==-
0
394
Member Avatar for TechySafi

I'm a noob developer. Trying to develop a simple php-mysql based chat script. I'm stroing all of my chat message's in a table. So to retrive em, im running a mysql query. Here is no problem but im concerned that it may create some performance & speed issues when a …

Member Avatar for Sorcher
0
113
Member Avatar for fantasma

Hello fellow programmers, I've built an upload script that, as usual, verifies if a file extension is allowed. However, the comparison seems to not be working, as it gives me an unhauthorized file trying to be uploaded (when in fact the file has an authorized extension). If i comment the …

Member Avatar for fantasma
0
101
Member Avatar for JBLDW

This is a (very) basic PHP form for use with a database. - Not sure of all the technical stuff I probably should be adding to this post, and I am not sure that it is safe to use either. - Spent hours (literally) looking at ways of securing the …

Member Avatar for JBLDW
0
115
Member Avatar for ben.marks

Hi there, This may or may not be a dumb question, but I've never come across it before. Can you point to a javascript 'onsubmit="return validation()"' on a form, but WITHIN PHP tags? Such as the below. [CODE]function validation(){ var reply = document.getElementById('comreply'); var div = document.getElementById('errormsg'); if((reply.value == '') …

Member Avatar for ben.marks
0
171
Member Avatar for vboopathicse

i need a script that data's fetch from mysql and display in text scroller using javascript. i' uses it is a news update. please somebody helpp me.

Member Avatar for diafol
0
175
Member Avatar for souravsikka

Hello friends,i need your help in PHP.Currently i am doing a module named compare items,in which i have to compare different phones of different brands. Working of this module: firstly user check the associated checkbox of the phone.At a time user can Select 3 phones.A list is maintained which keep …

Member Avatar for diafol
0
111
Member Avatar for emma123

Hi, i am new to this and was wondering the following question 'Is PHP a good way to implement a database driven Web site? Thanks

Member Avatar for diafol
0
158
Member Avatar for somedude3488

Hello, I have been working on a php/xml/ajax chat program which requires no database for the last few days and was wondering if anyone could test it out for me. It has a few bugs that I would love to have someone help me fix (I am running out of …

Member Avatar for joeidee
3
901
Member Avatar for samsons17

Hi.. I got to query that i want to execute here..It is again like facebook wall system,where the first query is for executing all the "wall post",while the other query is for executing the comment for the post. So basically,i need two query for that,which I've written them down like …

Member Avatar for samsons17
0
104
Member Avatar for yamot47

[CODE]<!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript"> function buttonPress(str) { var str; alert(str); } </script> </head> <?php session_start(); error_reporting(E_ALL ^ E_NOTICE); include "dbconfig.php"; $id=$_SESSION["valid_user"]; ?> <body> <form name="Item Search" method="post" action="search.php"> Item Search:<br> <label> <input name="swords" type="text" …

Member Avatar for yamot47
0
249
Member Avatar for raghujosh

I am developing a form(PHP) that will accept some data. The data will be displayed on a web page. However, before it is displayed, a moderator of the site has to grant permission to display the data. The way it works 1) A user logins to the site and enters …

Member Avatar for vaibhav1983
0
100
Member Avatar for captain.don

I have table named 'user' that has 3 fields 'name' ,'id' and 'profile'. table is filled and 'id' field is filled with 1 to 18 (that is 18 rows).when i run this script it shows the result :: 18 17 16 15 14 Pages4) [1] 2 3 4 >> Last …

Member Avatar for vaibhav1983
0
193
Member Avatar for souravsikka

Hello friends,i need your help in PHP.Currently i am doing a module named compare items,in which i have to compare different phones of different brands. Working of this module: firstly user check the associated checkbox of the phone.At a time user can Select 3 phones.A list is maintained which keep …

Member Avatar for jkon
0
162
Member Avatar for ekseks

Hey guys, I don't know where to post this but I hope this is the right place. I just wanted to know if anybody's using Joomla if you are, do you know how delicious works? the site where you keep your bookmarks and can be seen by your friends and …

Member Avatar for jkon
0
163
Member Avatar for din3sh

Hi .. I'm not so experienced with php .. I'm getting this error on the bolded line .. Can neone help me figure it out .. Regards, Dinesh Ramchandani [CODE] <?php $con = mysql_connect("localhost","username","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db('lasagnia_user', $con); if (!$db_selected) …

Member Avatar for rcollins
0
254
Member Avatar for revathis

Hi, I am new to PHP. I have installed apache, PHP 5.2 and MySql. Plz tell me How I run PHP programs?? Thanks & Regards, Revathi

Member Avatar for riya...
0
203
Member Avatar for Ambislm

I made a simple application that have a combobox which is loaded with database value and a textfield which should display text related to combo box selection. Name Number number1 1234 number2 2345 number2 5678 number3 2212 So combo box will have values number1, number2, number3. when user selects number1, …

Member Avatar for Ambislm
0
196
Member Avatar for mrexp21

Hello , I would like to modify this script a bit . It is a video upload script for my site . The php content contains all the neccessary fields and upload via browse files only . I would like to make it another optional such as remote/url upload . …

Member Avatar for diafol
0
262
Member Avatar for -==Zero==-

[B]Hey Iam New Here And Iam Noob In Php I Made A Web Site Directory Script A Form So The User Can Post His Site And E Mail This Site Show Directly I Need To Make This Site Under Moderation First Before It Show In Main Index File I Have …

Member Avatar for -==Zero==-
0
103
Member Avatar for -==Zero==-

I Have A vBulletin Forum I Created Custom Fields Lets Say It Give User Gold Point User Id : 1 Posts : 150 Reputation : 1000 [COLOR="Red"]Gold Point[/COLOR] : 5000 This Custome Field Appear Normally In Postbit_Legacy I Need To Know How To Get This Field Data From The Database …

0
47
Member Avatar for mik117

This Error keep show up everytime i use insert query code in my php programs 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 '-student(stud-id,stud-fname,stud-mname, stud-lname,stud-gender,stud-status,stud' at line 1 example code: <?php require_once "formvalidator.php"; …

Member Avatar for stone2191
0
132
Member Avatar for Acute

When I insert "&lt;b&gt;dog&lt;/b&gt;" into database using php, it inserts empty string. WHY??? How to fix it? thnx in advance

Member Avatar for Acute
0
88
Member Avatar for gymie1980

how can i refresh php page by click button (onclick funtion) in another php file i have 2 file : a.php & b.php so how to refresh page in b.php by click button in a.php hope anyone can help me. Thanks

Member Avatar for P0lT10n
0
119
Member Avatar for anawan

Hi, I am new in PHP world and know some basics. I have a database where date wise entries to be made by users. I would like to get results in month wise total. e.g. I have these columns in the database: fleet_no, fueling_date, quantity, price. Now I want to …

Member Avatar for Stefano Mtangoo
0
72
Member Avatar for tcollins412

how do you change the timeout of a session? can you do something in the php.ini?

Member Avatar for Stefano Mtangoo
0
88
Member Avatar for khlouk rada

hello! I'm new to the forum. I really need help from all of you. I have a form in an html page "index.html" like below: [CODE]<form action="login.php" method="post">...[/CODE] How can I prevent users from viewing the login.php in the action attribute of the form tag above by just typing its …

Member Avatar for khlouk rada
0
100
Member Avatar for fuston05

I set my cookie on a previouse page, this page here i call it and set it to a var, then when i echo it it says undefined var. Just curious.. im missing something simple here.. not sure what it is. Cookie is set, i verified that. and if i …

Member Avatar for fuston05
0
115
Member Avatar for joban.ali

Hi I just wanted some advice regarding my login script. Example: I have 2 types of user "Student" and "staff" I would like both types of users which are in different tables to log into one login form, at the moment I have 2 separate scripts. The general assumptions apply …

Member Avatar for Zagga
0
116
Member Avatar for scarcella

Hey guys i need help itegreating OpenCart into my existing website!!! If you guys can help me please!! Here is the website frontend: [url]http://www.peacockinkcartridges.com/new_site/[/url] But i need to have the opencart to products and stuff to display in the Catalogue page. Thanks, Marais

0
104
Member Avatar for itisnot_me

ok so what i am trying to do is loop through the POST data to create an array of the data to be used later. this is what i have but when i use is_array it returns not an array. i swear it was working at one point but now …

Member Avatar for itisnot_me
0
112
Member Avatar for maxbalboa

Hi Everyone, I got a strange problem with session. Session variables that I define in a page with "www" prefix in the domain name for example http://www.foo.com/page1.php for some reason can't be recognized in page2.php if I remove the "www". But if I use "www" like http://www.foo.com/page2.php, it works just …

Member Avatar for mayureshgoyal
0
572
Member Avatar for rajeesh_rsn

Hi friends, I need a simple help or query for my search option in my website. I had a table which storing movie information. The rough form of table structure as follows. Movie name | Director | Genre | Producer | Story line | Cast ------------------------------------------------------------------- | | | | …

Member Avatar for jkon
0
107
Member Avatar for Scharl

I am using libhash++'s getHashFromFile() as seen in [url=http://hashlib2plus.sourceforge.net/example.html]this[/url] example to get the hash from files. When the file is a simple text file I get the same result as I get with md5_file() in PHP and the program [url=http://www.pc-tools.net/win32/md5sums/]md5sums[/url], but when it is a binary file I don't get …

Member Avatar for rbross
0
89
Member Avatar for pzuurveen

Hi I've writen a server is PHP that i want to run every min. so i can do something like in cron [CODE]*/1 * * * * lynx -dump http://www.somedomain.com/myserver.php[/CODE] But i want to make sure there only 1 running. The web tells met to check for an prosesid but …

Member Avatar for rbross
0
381
Member Avatar for kuink

Hi guys, I'm new in php and i'm having a problem. My problem is, how to print and save to database. here is the schema, [CODE] 1 / \ 2 3 /\ /\ 4 5 6 7[/CODE] what is php algorthym for that case?. 1 is sponsor for 2 and …

Member Avatar for manibcaa78
0
127
Member Avatar for kkjay

Hi guys, im trying to develop a social networking application and im having some trouble showing a user's selected avatar. Every users can upload pictures and there is a field called avatar and when this is set to 1, it is the users avatar pic. Only one pic can be …

0
93
Member Avatar for JamesWoodward

Hey guys, I have been asked to write a program in php which is to play hangman but used in messenger chat. We are using imified to create our "bot". The game to me sounds backwards to normal but here is the deign brief. . In your game of hang-man, …

Member Avatar for Alan.Smith
0
170
Member Avatar for krusty511

I need to print from a PHP program directly to a printer on the user's computer (if there is one). I've used JS page print, but this is somewhat clumsy.

Member Avatar for Bestwebdesign
0
96
Member Avatar for yamot47

[CODE]<!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript"> function buttonPress(str) { alert(str); } </script> </head> <?php session_start(); error_reporting(E_ALL ^ E_NOTICE); include "dbconfig.php"; $id=$_SESSION["valid_user"]; ?> <body> <form name="Item Search" method="post" action="search.php"> Item Search:<br> <label> <input name="swords" type="text" size="30" maxlength="30"> …

Member Avatar for yamot47
0
200
Member Avatar for accra

Hi to all, am having problem doing this. i want to show a link and not a button.when the link is clicked,then the <form></form> content is echoed for the user to make a choice,this should not open a new window,all this should take place on the same page.another problem i …

Member Avatar for accra
0
172
Member Avatar for eltonpiko

hi im working on a project for a friend to modified an existing website with a google map api.the site has some menu that link to a specified cluster on the google map and i want to add some more menu and link it to a marker on the map …

Member Avatar for pritaeas
0
143
Member Avatar for himanshumishra

Dear All, I wish to print my records of following code in table format echo "LOAN NO = &nbsp;$title<br>" ; echo "NAME = &nbsp;$title1 <br>" ; echo "ADDRESS = &nbsp;$title2 <br>" ; echo "AREA OFFICE CODE = &nbsp;$title3 <br>" ; echo "LINK AO = &nbsp;$title4 <br>" ; echo "APPLICATION NO. …

Member Avatar for himanshumishra
0
97
Member Avatar for TySkby

Hi All, I'm sorta stuck on this one. Hopefully some of you folks can help me out... My question in a nutshell: Is there a way to have PHP extract all of the files from an archive without preserving the directory structure? Extra Info: A site I'm working on allows …

Member Avatar for TySkby
0
163
Member Avatar for Xtremefaith

So ultimately my goal is this: I have a table of info (from mySQL database) being displayed on my page, btracker.php. On this page is a pulldown menu for the month and the year (I need both to work but for now I'm [I]just trying to solve the [B]month[/B][/I]). [CODE=html] …

Member Avatar for Xtremefaith
0
153
Member Avatar for I.am.someBody

excuse me, well, i just want to ask if it's possible to highlight the textbox and display its error in php or if not, is there any way that i can do to make it possible but still with php?.. can somebody pls tell me how? thanks a lot! :) …

Member Avatar for zizuno
0
52
Member Avatar for bangla

Hi, 1. When i type [url]http://localhost[/url], i get the XAMPP page. 2. I started eclipse.exe. Created a new php project(workspace- C:\Program Files). also create a simple hello world php file. 3. eclipse and xampp both saved in c/program files. 4. opened up C:\Program Files\xampp\apache\conf\httpd.conf. In the httpd.conf file, i put …

Member Avatar for mrjimoy_05
0
80

The End.