39,323 Topics
| |
Suppose I have got the value of a veriable from file1.php, in file2 .php I want to increment this value and want to print the incremented value in file2.php How can I do this job............... | |
Hi, hoping someone might be able to help us with this one as we're well & truly stumped... we have a site that uses PHP to authenticate users against a database and allow access if the login details are correct. We then have a script on each page to make … | |
Hello guys! Anyone that has knowledge of modifying wordpress, please help. I am working on my site using the WP2.2. The concept is there will be five authors and each author will post blog and each post is separated according to the author that posted the said articles. What i … | |
Hi, I need a script of Selecting Multiple Categories by using Ajax/PHP Like I have button and it should open a popup in this popup i want to sse the list of categories in TREE format. On click of main Category + sign it should open sub categoris (AJAX) and … | |
Dear Friends,, i want to download a pdf file from any server since i have url of a pdf file then i convert it in html format. i am working in PHP and enviorment is linux. Pleas help me for this script i am much upset due to this With … | |
Hi all, newbie here but I've got a question and HOPEFULLY someone can assist me here. I'm getting an error that says its on the LAST LINE of my code. Here's the error: [quote]Parse error: syntax error, unexpected ';' in /home/editedreg.php on line 113[/quote] Now here's the final lines of … | |
I need a script and am not quite sure of the best way to write it. Any help would be greatly appreciated. Basicly I need a form that collects the following data User name, User id(number) module name, module id(combination of letters & numbers), the year and i need a … | |
I have asked this question earlier, but could not get a reply that worked :-( I have a single login_success.php file where I have written a function IsWithinFixedGeofence(point) { ...... .... ... if ( distance <= MINIMUMDISTANCE ) { return PointsOfInterest[i]; } I want to be able to store the … | |
I need a simple login script that has the ability to redirect a user. For example: - I want to be able to protect certain pages so that a user has to login to access them (in this case they wouldn't get redirected) - Then in another case I would … | |
hey guys i was woundering if it was possible to connect and grab infromation from a database triggered by a drop down menu click in php .... or will i have t o learn java and figure it out there .. im sure there is a way tho somone help … | |
I'm using php 4.xx, and install it in my linux operating system redhat. Cause this version does not support drawing graphic it's said should add gd library, I have already download this library for php in linux os. But I dont know how to add this lib in my php … | |
Am new to SQL and PHP. Only been using them for about 3 weeks to create an e-commerce site for some friends. I have been trying to set up a link to paypal's shopping basket feature from my listing page. I'm trying to get the link to appear next to … | |
[COLOR="Red"][B]plz rectify the following code of file upload[/B][/COLOR] file_up.php [code=php] <html> <body> <form enctype="multipart/form-data" action="upload.php" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="1000000" /> Choose a file to upload: <input name="uploaded_file" type="file" /> <input type="submit" value="Upload" /> </form> </body> </html> [/code] ___________________________________________________________ upload.php [code=php] <?php //Сheck that we have a file if((!empty($_FILES["uploaded_file"])) && … | |
Hello guys! As usual i need anybody help. pleeeeaaaaase..... :) My problem is to take value from the URL. Not the entire value but only part of it like the example below. [URL]http://localhost.localdomain/YPS/lets-talk-main-conversation-full.php?id=5[/URL] This is the link where the value id is passed from the previous page. Value for id … | |
Hi, I have written below code but i do not know how to validate using javascript, cud anyone please help me out. <select size="1" name="hours" class="selectstyle" style="width:40px" onchange="alert(document.modifyschedule.hours.options[document.modifyschedule.hours.selectedIndex].value"> <? for($j=1;$j<=24;$j++) { if($timesplit[0]==$j) echo "<option value=".$j." selected>".$j."</option>"; else echo "<option value=".$j." >".$j."</option>"; } ?> </select> <select size="1" name="minutes" class="selectstyle" style="width:40px" onchange="alert(document.modifyschedule.minutes.options[document.modifyschedule.minutes.selectedIndex].value"> … | |
Hi everybody I am developing a CMS which will manage all the conent of website. for manl link for the website there will be category class which consist of page and for content there will page class page may consist sub page there will be following four classes [B]Category page … | |
I'm posting in the PHP forum cause that's what I'm using to connect to MySQL. If there's a better place to post this let me know... Anyway, I have data that consists of discrete lines of text which must be in a certain order. Like if you were taking a … | |
Hi folks, As the heading states I'm no scripter! But I could use some basic PHP for layout uses. Can anyone direct me to anywhere I can find a basic PHP template? All I'm after is the code and its use for header, footer, left and right navigation plus anything … | |
[B]I've installed Apache2.2.4 & php5.2.3 in my windows xp, evry thing is going perfect but when I want to transfer a session variable to another form its not tranfering.......plz any body help me on this regard. will I have to configer any file....its urgent for me..[/B] | |
Hi every body I want ot add CAPTCHA in my registration process any here please help Thanks in advance | |
Hello every one, I have made the insertion, viewing part of the database, but want to have an edition part too, could anyone plz kindly guide me, how it is possible to have edition part too? NOTE; I am using PHP 5..., MySQl 5... , and Apache Server | |
Hello everybody, I want to have search option and the search result in one page, so I write the following code, but I dont know why after search there is no results displayed: [LIST] The file name is SearchInSide.php[/LIST] [CODE]<HTML> <BODY> <FORM Action="SearchInSide.php" Method="POST"> <div align="center"> <table border="0" cellpadding="0" cellspacing="0"> … | |
[B]I want to create a table, with a column which datatype will be LONG BLOB, what will be it's size????? e.g. [U][I]create table tab1(name varchar(20), pic longblob([COLOR="Red"]?????????[/COLOR]));[/I][/U] plz give me the currect code...........[/B] | |
I am in need of web template engine and I am considering two options. PHPSavant and Smarty. I am using PHP ver. 5 and PostgreSQL database. PHPSavant supports PHP5 only in beta2 version, so I am affraid of some serious bugs, but at the other hand, as far as I … | |
i wrote this script and i cant get any ouput from it. [code] $time = $_POST['time']; $budget = $_POST['budget']; $visual = $_POST['visual']; $update = $_POST['update']; $custom = 0; $stream = 0; $easyup = 0; $selfup = 0; $upserve = 0; if($time == "deadline"){ $custom = $custom + 1; } if($time … | |
[B]Hi members, I've a project on match-making website where I've to give a facility to my client to upload image file as happen in orkut...plz give me the concept & if possible plz give me some related Codes..........[/B] | |
i have a site at [URL="http://cometorate.com/"]http://cometorate.com/[/URL] i tried todo a cPanel move to my server here. [URL="http://66.196.43.131/~cometora/"]http://66.196.43.131/~cometora/[/URL] on the new server above i keep getting the errors below. i just dont know what any of this means. can anyone help? Warning: fopen(/usr/local/apache/htdocs/online.txt) [function.fopen]: failed to open stream: Permission denied in … | |
so, i started at php and i'm doing some exercises from the book, but when i type this code into my "view.php", the output is all wrong...[code=php] <?php include("dbconnect.php") ?> <h2>View my GuestBook!!</h2> <?php $result=mysql_query("select * from guestbook") or die(mysql_error()); while ($row=mysql_fetch_array($result)) { echo "<b>Name:</b>"; echo $row["name"]; echo "<br>\n"; echo … | |
Okay - there is no otherway to phrase this ... [B]Help![/B] I am not a programmer, never claimed as such... but I do use a php based CMS, which I adore - Xaraya. So I am building a site for a client, and it's gotten to be a rather ugly … | |
Hello. I am currently having a problem with a script. I am using the rand() function to make big randomized numbers. The problem is that rand() only returns numbers lower than about 2 billion. I need more than that. Is there any function in PHP that gives you REALLY BIG … |
The End.