39,402 Topics

Member Avatar for
Member Avatar for camdes

I have managed to get previous and next links working on my photo gallery but need to tidy it up. My link works when coded like this [CODE]<? echo "<a href='" . $PHP_SELF . "?photo_id=$prev'>Previous</a>" ?>[/CODE] But when I do this I get various errors. Obviously my syntax is wrong …

Member Avatar for sDJh
0
64
Member Avatar for kevin wood

i have done little bit of research on this but all the information i could find was about unlinking text file i need to unlink an image. i have a variable which store the path to an image stored in file on the server which is what i am trying …

Member Avatar for kevin wood
0
8K
Member Avatar for berkwins

Sir, I am facing a problem with a Malayalam (IN) font developed here. Apart from the characters defined under Unicode for Malayalam, additional characters are added after U-FFFF. While using makefontuni.php of TCPDF-php5 it is not accepting the new values. A portion of the .ufm file is show here. From …

0
46
Member Avatar for muazuzanna

i am having problem in inserting data into my database,because says to me that query is not executed. the codes are shown below [code=php]<?php //include("connection.php"); //print_r($_POST); $firstname = $_POST['txtfirstname']; $lastname = $_POST['txtlastname']; $email = $_POST['txtaddress']; $date = $_POST['txtdate']; $user="killer"; $host="localhost"; $password="killer08"; $database="register"; //creating connection $Con = mysql_connect($host,$user,$password) or die("couldn't connect …

Member Avatar for amigura
0
64
Member Avatar for trient

Can anyone explain the concept and guides and show some codes as how one does use only signup.php only for getting different information only by passing at the example: first page: [COLOR="Green"]signup.php?fer=1[/COLOR] Example: Username: Password: [Button:Save AND Next] next page sequence: [COLOR="Green"]signup.php?fer=2[/COLOR] Example: Please Input Your Personal Information: Address: Zipcode: …

Member Avatar for peter_budo
0
112
Member Avatar for lydia21

[CODE]<html> <head> </head> <body> <?php $days_array = array(""); for($_GET['days'] as $val2) { $days_array[] = $val2; echo $days_array[0]; } ?> <form name="fors" method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>"> Enter text:<input type="text" name="days"> <input type="submit" name="submit" value="submit"> </form> </body> </html>[/CODE] get the text box value using array and display the value using array.

Member Avatar for peter_budo
0
112
Member Avatar for Dsiembab

I wrote this script and I was wondering if their was an easier way. It's basically for dynamic links [CODE]<?php $currents = $_GET['page']; function paginator($current , $link, $getpre, $firstimg , $lastimg, $endimg, $startimg, $totalitems, $maxperpage){ // $current is the current page should be dynamic // $link is the url , …

0
78
Member Avatar for cali_dotcom

can anyone tell me why this code does not work? it's suppsed to give back a name from the database but it always returns blank. [code] <?php //connect to database $mysql = mysql_connect("localhost", "root", "") or die ("couldn't connect to server"); $mysql .= mysql_select_db("addressbook", $mysql) or die (mysql_error()); if (!$_POST) …

Member Avatar for OriginalCopy
0
86
Member Avatar for pip86

Hi all, I have just upgrade from php 4 to 5 and now I get a hole lot of weird text on my site. I have try to disable all errors and warnings, but I cant get it to dissapear. hope somebody can help me. [url]http://demo.topnordic.com[/url] [url]http://demo.topnordic.com/info.php[/url] Thanks

Member Avatar for OriginalCopy
0
86
Member Avatar for chronoel

Hi, I'll explain my problem so you could picture it clearly. I do a complex query to fetch some information from the database and the problem is that the query takes some time. Fortunately, the result of the query doesn't change often, so I thought of a solution to store …

Member Avatar for OriginalCopy
0
81
Member Avatar for flforlife

I'm trying to update multple queries but the update is not working. here is the code.... [code] if (isset($_POST['btnSub'])) { // Preset counter $p and switch $sw to 0 $p=$sw=0; // Create UPDATE queries foreach($_POST["entry"] as $data) { $sql[$p]="UPDATE major SET "; foreach($data as $key => $value) { // Save …

Member Avatar for amigura
0
210
Member Avatar for rotsap

I am new to php and am getting the following error; Parse error: syntax error, unexpected '+', expecting T_VARIABLE or '$' in… on line 14. Here is the code; [code=php]<?php /* Subject and Email Variables */ $emailSubject = 'Monthly attendance report'; $webMaster = 'phil@coxwebink.biz'; /* Gathering Data Variables */ $ChurchField …

Member Avatar for mom_of_3
0
217
Member Avatar for jonnica

hi frnds, My problem is that i am having a form that makes selects various persons profile through check boxes. Now i want that in my mysql database , those selected gets stored against the login user on bookmark button click. Problem comes when the user again logins , if …

Member Avatar for forzadraco
0
101
Member Avatar for forzadraco

can anybody help me to show how to make multiple search with some listbox and ot's value have multiple calue and one of them have value 'any' which search all with PHP n MYSQL. Thanks...

0
85
Member Avatar for anish.anick

Hi All, Is there any way to send email in php without user interaction.The scenario is some thing like this.. I want to send email's to persons based on his/her birthday.I need your help. Please help me to solve this... Thanks :)

Member Avatar for anish.anick
0
92
Member Avatar for AceIce

I get this error: Warning: require(D:\Apache\htdocs\public_html/lib/stdlib.php) [function.require]: failed to open stream: No such file or directory in /home/homebase/public_html/config.php on line 143 Warning: require(D:\Apache\htdocs\public_html/lib/stdlib.php) [function.require]: failed to open stream: No such file or directory in /home/homebase/public_html/config.php on line 143 Fatal error: require() [function.require]: Failed opening required 'D:\Apache\htdocs\public_html/lib/stdlib.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/homebase/public_html/config.php on …

Member Avatar for amigura
0
86
Member Avatar for mcx76

I installed the [URL="http://cs-cart.com/index.php"]CS Cart[/URL] . everthing was working fine. I successfully login to Admin panel [url]http://www.website.com/admin.php[/url] But today i am trying to login to admin panel [url]http://www.website.com/admin.php[/url] . But the page is appearing different "Dealer Login" with email address. Please be advice.Thanks for all your help

0
86
Member Avatar for spiderling

I've tried the following force download script and for the life of me I can't get it to download the file. I get the download dialog pop-up, but the file size is only around 500 bytes. I think it is the pathing. I've tried absolute and relative paths for readfile …

Member Avatar for spiderling
0
115
Member Avatar for sjkisby

Hello all, My final year at uni is looming and I've searched the web for some final year project inspriartion but haven't found too much. I study software engineering and have enjoyed web-devlopment the most so want to do a php/mysql maybe some ajax in there as well type of …

Member Avatar for sjkisby
0
140
Member Avatar for lydia21

hi, how to find the end of file in a word document thanks in advance

0
64
Member Avatar for forzadraco

anyone can help me to show me how to make multiple search with multuple parameter? thanks, Ardy SH

0
64
Member Avatar for kings

hi i have a application where i want the user to click the button only once.i want the user to have time interval(eg 5 sec,before tat if he tries to clickit should display pop -up thanks

Member Avatar for queenc
0
95
Member Avatar for swapna7999
Member Avatar for swapna7999
0
58
Member Avatar for ebabes

I had been using my local phpmyadmin for the past few days and its working. But suddenly, I can't access my local phpmyadmin and got this error [COLOR="Red"]"Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server". [/COLOR] I …

Member Avatar for ebabes
0
94
Member Avatar for Designer_101

Hi I'v hit a glitch in my bebo, myspace, facebook ect style website. I basicly need help with a script to resize an image, of which directory is stored in my database. [CODE]<div id="profile" class="<?php echo $user_data[skin]; ?>"> <img src="<?php echo $user_data[dp]; ?>"> </div>[/CODE] Bering in mind i cant have …

0
60
Member Avatar for Designer_101

Hey Im having this problem, im sure theres a simple solution, but i cant seem to see it :D The code bellow is part of a regestration form validation. Basicly when i ask the database if anyone else exists with the same username, password or email address - it works …

Member Avatar for Designer_101
0
116
Member Avatar for Fabioisonfire

Here is the error I'm getting: Parse error: syntax error, unexpected T_STRING in /home/fabio/public_html/vote.php on line 21 Here's the code: [CODE]<?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us …

Member Avatar for phper
0
113
Member Avatar for csshacker

Can a .htaccess file to Change this URL [url]http://www.myhealthidea.com/index.php?article=Natural-Health-Supplement&article1=Natural-Beauty-Care[/url] To [url]http://www.myhealthidea.com/Natural-Health-Supplement/Natural-Beauty-Care[/url] Not only this URL all URL Rewrite as [url]http://www.mywebsite.com/category/subcategory[/url] Please Please Help Me......

Member Avatar for amigura
0
75
Member Avatar for webie

I thought i post here to see if anybody would like to test new front end for openwebspider the script is PHP and uses the sphinx full text search engine and the smarty template engine for ease of skining new themes. Searh results are returned back lighting fast under a …

0
126
Member Avatar for Brent.tc

Hi, I have made a program in c++ that inputs a file, and outputs the number of characters... I have placed this executable into my apache 2.2 server's cgi-bin directory under the name "TestApp.exe" how would I retrieve the output of this file by calling it with either PHP, or …

Member Avatar for MitkOK
0
69
Member Avatar for Ravenous Wolf

I suppose that this is the wrong place to voice critique of php but does the lack of good php books not make php a bit of a nightmare. i have been on amazon and all the books have a review or two which says something about typos or misleading …

Member Avatar for Ravenous Wolf
0
148
Member Avatar for jino

Hi all, Please tell me where is the cookie file stored in my computer when i run the below codes.. I checked it in the C:\ [code=php]<?php setcookie("test","john_joseph",time()+ 3600); ?> <html> <body> <form name="cookie" method="post" action="<?php echo $_server['php_self'];?>"> Enter ur name:<input type="text" name="name"> <input type="submit" name="submit" value="SUBMIT"> </form> <?php if …

Member Avatar for digital-ether
0
153
Member Avatar for Tess James

can we go for ms excel for creating charts in php(with mysql) instead of using jpgraph? please tell me which is the easiest one to use 9between ms excel and jpgraph)?

Member Avatar for digital-ether
0
206
Member Avatar for forzadraco

hyy... i hv aproblem.. iwant to make aplication thabt need some field database from other database(pg-sql) and want to copy it to other database(mysql). can that skrip make this happen auto copying...?

Member Avatar for AaronASterling
0
104
Member Avatar for prethum

hi i have a simple form where users can upload only images ,i am storing the path to myql and actucal image to a folder on the remote server but when i submit the form iget the image path in my database but not the image in the folder the …

Member Avatar for prethum
0
107
Member Avatar for ZaphodQB

I have a web page which I can login to with a user name and password and when the page reloads of the first time after the signin the session loads and has my status correct but just navigating to another page (all done through the same php file with …

Member Avatar for vinothkumarc
0
130
Member Avatar for thirusvga

Hi.. I am new in php +ajax.....Now i am doing project in php+ajax+linux environment...i create a login page using php,ajax,mysql,, i have mysql tables are. register,slideshow,,,,,In register table having following field... 1.uid (autoincrement)2.first (firstname)3.last(surname)4.user(username),5.pass(password) In slide show table having following field,,, 1.uid 2.pid(presentation id,autoincrment) 3.slideno 4.description 5.location(this is what image …

Member Avatar for thirusvga
0
179
Member Avatar for mrcniceguy

i served my website file in FTP(school server) but now i can not open it via my computer, When i use others computer it opens Is there anyone who nows What i can do To make it work?????????? thankx

Member Avatar for digital-ether
0
93
Member Avatar for ebremmer

Hello all, I am looking for a product which I can use to create an online database. I will use this database for maintaining my music collection. No audio files, just information about the music like albums, artists, etc. I've looked everywhere on the Internet to find a web-based application …

Member Avatar for scru
0
76
Member Avatar for webguru07

I need to get information from 2 tables in the same mysql database [code=php]$sql = mysql_query("SELECT * FROM notes, customers WHERE `to`='next' LIMIT 5"); while($a = mysql_fetch_array($sql)){ $row_color = ($row_count % 2) ? "#EFEFEF" : "#FFFFFF"; echo("<tr bgcolor=\"$row_color\"> <td height=\"25\">" . $a['custid'] . "</td> <td height=\"25\">" . $a['name'] . "</td> …

Member Avatar for prethum
0
271
Member Avatar for ryy705

Hello, Is there a way to send smtp mail without messing with php.ini file? A lot of server don't seem to give access to that. Thanks in advance.

Member Avatar for digital-ether
0
716
Member Avatar for colgate

I would like to create a digial post card, where you can send details to your friends via my website and I need to receive a copy in my inbox. Please help I am quite new so I need a code where I can paste it on a page and …

Member Avatar for blufab
0
67
Member Avatar for ExplainThat

A cheatsheet covering the core features of PHP 5 is available here [URL="http://www.explainth.at/en/qr/phpqr.shtml"]PHP5 Cheatsheet[/URL] Free to print, share and enjoy.

Member Avatar for ExplainThat
0
64
Member Avatar for vganeshvenu

Please advise me how to use FLV video streaming in php and please provide me the source code.

Member Avatar for digital-ether
0
103
Member Avatar for flforlife

I know how to post multiple rows using a if and foreach loop. I can post multiple rows from one form. here is the form snippet..... [code] <tr> <td><input name="entry[0][place]" type="text" /></td> <td><input name="entry[0][team]" type="text" /></td> <td><input name="entry[0][wl]" type="text" /></td> <td><input name="entry[0][gb]" type="text" /></td> <td><input name="entry[0][pcage]" type="text" /></td> <td><input name="entry[0][rs]" …

Member Avatar for digital-ether
0
125
Member Avatar for macy2323

Can somebody please help me? i'm having a big problem on tables. Our client want to have a table where its columns are expandable and the headers of the table can be viewed no matter how many rows there are(you can always see the header even if you scroll down …

Member Avatar for digital-ether
0
92
Member Avatar for kevin wood

i have created a file uploading system on a website that i have created and i need to know how the file can be over written. the file thats are upload are only used once and the next time the user uploads a new file i want the last file …

Member Avatar for kevin wood
0
79
Member Avatar for kashmir323

I am running this site which I've gotten allot of responses about and its been a hassle to edit the html constantly to add more content. Is there a way I can make a extreamly easy CMS to add information? Here is the site thats going on: [url]http://competitive.rebornservers.com/[/url] What I …

Member Avatar for pritaeas
0
90
Member Avatar for binuindia

I need help to create a search page for a real estate site, with option fields for house/unit, suburb, price range etc. It has to search a database file and if an entry meets these conditions, that entry (with an image) should be displayed in the results page. Please tell …

Member Avatar for binuindia
0
66
Member Avatar for darkagn

Hi all, I am fairly new to PHP (my experience is mostly in Java) and I have inherited a project that was initially implemented in PHP4. I am updating it to use PHP5 and at the same time I am trying to add Logging to the project. I am using …

Member Avatar for darkagn
0
144

The End.