38,021 Topics

Member Avatar for
Member Avatar for rajeshsprabhu
Member Avatar for NoID

Hello Guys, i have the following .htaccess file, [code] php_flag display_errors Off php_flag display_startup_errors Off php_flag log_errors On php_flag magic_quotes_sybase Off php_flag magic_quotes_gpc On php_flag register_globals Off php_value error_log /home/sites/mydomain.co.uk/public_html/err_ors/php.txt php_value error_reporting 2147483647 Options All -Indexes php_value disable_functions phpinfo ErrorDocument 404 /404page.html [/code] I then did a test error so …

Member Avatar for NoID
0
88
Member Avatar for Dalty80

Hi, I'm creating a basic CMS using PHP and MySQL and i'm struggling to get the checkbox information from my html page across into the database. I want the values to appear as binary 0 or 1 values, any help would be greatly appreciated thanks html document is written as …

Member Avatar for wilch
0
90
Member Avatar for ayesha789

This is a page name search.php [CODE=html]<form action="/ap/demo_paging1.php" method="post"> <input type="text" value="Enter Site ID" name="a" class="textfield_effect" maxlength="30" onfocus="this.value=''"> <input type="submit" value="Search ID " /> </form> [/CODE] and I post value a to another page name demo_paging1.php when I put Query [ICODE]WHERE SiteId REGEXP '$a'[/ICODE] It does not show me the …

Member Avatar for ayesha789
0
417
Member Avatar for vanessia_1999

I am trying to make the image proportionate so that it does not look pixelated. Some of my image look nice but others look pixelated. Is there a way or a code that I can use to make all my thumbnail images proportional from the original image or something like …

0
71
Member Avatar for revatijadhav
Member Avatar for verbob

Heres my code, which is in the head section of the page(yes, its saved as .php): [code] <?php if (isset($_GET['category'])) { if ($_GET['category'] == "property" ) { $property_link = "<span>Property</span>"; $rentals_link = "<a href="listingstest.php?category=rentals">Rentals</a>";} else { $rentals_link = "<span>Rentals</span>"; $property_link = "<a href="listingstest.php?category=property">Property</a>"; } } else{ $property_link = "<a href="listingstest.php?category=property">Property</a>"; …

Member Avatar for verbob
0
111
Member Avatar for karin21

hi guys, i have working on this simple cart script,it goes like when selecting the product in combobox it will display the details of the product into the textbox, i can display the details but my problem is when i select another product the previous selected product was replaced.. what …

Member Avatar for karin21
0
147
Member Avatar for Takkies

I have tried to get my php scrip to work but it doesn't. can someone maybe help me to get it working please. Here is my script: [code=php]<!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=iso-8859-1" /> <title>Untitled Document</title> </head> <?php if(isset($_POST['mail'])) { $email_to …

Member Avatar for tiger86
0
79
Member Avatar for Narayan15

Hi, I want to show running time. i dont want to show present time. Time should be running on php page. Please Please help me.

Member Avatar for fuego2008
0
383
Member Avatar for phpbeginners

Is there anyone who can write a javascript/php code for refreshing the contents of only one DIV container on one page?

Member Avatar for diafol
0
237
Member Avatar for dwdata

Hello, I am trying to work out a PHP page which establishes a sequenced rotation of ADS. Here is the code so far. There are some elements missing that need help with. [CODE]<?php include("core.php"); session_start(); $type = $_GET['type']; $category = $_GET['category']; $User = $_SESSION['MEMEBER_ID']; $Type = "image_imp"; // Get Initial …

Member Avatar for blocblue
0
89
Member Avatar for iamjmurphy

Can someone help me please! I have 2 tables one memberlist and the other results, a user makes a selection and it's entered into the memberlist and saved, the results table in then update (after a race event). I would like to compare the values in both table against each, …

Member Avatar for iamjmurphy
0
77
Member Avatar for tulipputih

Hi everybody, here is my update query ..there is no error but the record is not updated. anybody know of what should I edit? Many thanks [code=php] mysql_query("UPDATE lesson SET(`subject`= '{$ins_subject}',`year`='{$ins_year}',`noofstudents`='{$ins_noofstudents}', `minutes`='{$ins_minutes}',`ability`='{$ins_ability}',`learningArea`='{$ins_learningArea}',`objectives`='{$ins_objectives}', `LO`='{$ins_LO}',`skills`='{$ins_skills}',`prerequisite`='{$ins_prerequisite}',`resources`='{$ins_resources}',`introduction`='{$ins_introduction}', `activity`='{$ins_activity}',`step2`='{$ins_step2}',`step3`='{$ins_step3}',`step4`='{$ins_step4}',`assessment`='{$ins_assessment}', `reflection`='{$ins_reflection}',`closure`='{$ins_closure}',`extension`='{$ins_extension}',`author`='{$ins_author}') WHERE lessonID='$id'") ; [/code]

Member Avatar for tulipputih
0
94
Member Avatar for duraid121

I am trying to use this script to enter data into my database from an html form. this code is not working. plz tell me where the error is form is [code=html]<html> <head> <title> Review, Ratings, Opinions Site </title> </head> <body text="green" > <form action="register processing.php" method="post" > First name: …

Member Avatar for BzzBee
0
148
Member Avatar for pabzzmike

hello, i have a mysql database which i use a php script to search and display results with fields make, model, price, year and would like to add extra functionality with presumably javascript to add a drop down form field as when a particular make is selected from the list …

Member Avatar for BzzBee
0
112
Member Avatar for isak

I think I have read the answer reading through several forums and many posts, but I am not getting it. Please help... I am a novice. I have a page that displays some info for all the records in a database. It's for real estate listings, so the page displays …

Member Avatar for isak
0
116
Member Avatar for eantz

Hi.. I'm newbie here.. I have a problem with my login and logout script.. Here is the login script: [CODE]<?php $q = "SELECT * FROM members WHERE username='%s' AND password='%s'"; $q = sprintf($q, $username, $password); $q = mysql_query($q); if (mysql_num_rows($q) > 0) { $_SESSION['id'] = $q[0]['id']; $IS_LOGGED_IN = true; } …

Member Avatar for BzzBee
0
431
Member Avatar for jeffc418

Hi! I have a question that probably has a really simple answer :D. I have a regex that validates names: [CODE]elseif (!preg_match('#^[a-z0-9' -]{1,35}$#i',$lastname )) { include('includes/error.php'); }[/CODE] Only if the name I enter has an apostrophe, it gives me my error message. Can someone please help me modify this regex …

Member Avatar for BzzBee
0
152
Member Avatar for rajeshswain

I have a registration page where a user will upload his/her resume. On clicking "register" button the form will sent all the data to admin. It also sends a link called "download" containing the path of the word file that the user has uploaded .On clicking download the admin is …

Member Avatar for BzzBee
0
124
Member Avatar for architact

Hello, I want the ability for my clients to authorize the payment at the signup and pay when they will confirm their account. I have Googled about it and found the Paypal Authorize and Capture for this purpose. I was unable to found tutorial for A&C. Please tell me if …

Member Avatar for chrishea
0
60
Member Avatar for manojjena1982

Hi! thr, I am uploading a file in to server. At the time of downloading, it should show "view as html" as google does. thanx in advance. Manoj

Member Avatar for FlashCreations
0
143
Member Avatar for Tekkno

I have a cookie script that creates a cookie from a session variable, the only problem is when the session is destroyed the cookie is deleted even though I set the expiration to a year. What can I do to prevent this?

Member Avatar for Tekkno
0
96
Member Avatar for Diode

Hello, I found a php function that utlizes smtp authentication to send emails. However, when I tried it, no errors are echoed to the browser, but when I check my inbox, there is no mail from that site. I don't think anybody else is getting them either because I asked …

Member Avatar for whiteyoh
0
201
Member Avatar for talktoade

Dear all, I encountered the following error while trying to generate PDF file in my HTML site. It is same report while creating it in PHP. Warning: main(fpdf.php) [function.main]: failed to open stream: No such file or directory in c:\wamp\www\projectcode2\pdtest.php on line 3 Fatal error: main() [function.require]: Failed opening required …

Member Avatar for whiteyoh
0
89
Member Avatar for gagan22

Hi All, I am making a web directory in which i have one field of url of website which is i am taking form a form. Now i want to do this when i will show this url on my site then this will fetch screenshot of that url on …

Member Avatar for kireol
0
369
Member Avatar for Gearspro

Can someone tell me how to do the watermark on posting part of the forums please? Like on DANIWEBS! :) If you cant, could you please point me in the write direction by linking me or telling me what the feature is called. Thanks!

Member Avatar for Gearspro
0
83
Member Avatar for Pixelate

Hello, I have the same software installed on two servers: works: [URL="http://developdesign.com/samples/modelagency/index.php"]http://developdesign.com/samples/modelagency/index.php[/URL] not working: [URL="http://killertalent.com/index.php"]http://killertalent.com/index.php[/URL] 1 example - login as 'mat / matt' One developdesign.com page you get directed to 'members.php' page if logged in, but one killertalent.com page you get error ( or if using Firefox you go to …

Member Avatar for skipbales
0
775
Member Avatar for CFROG

It's been a long night and maybe I'm so tired I'm overlooking something simple, but this has me dumbfounded. I know for a fact - 100% that these variables contain a value : $receiver_id $myid $receiver_username I defined them at the top of the page and echoed them and they …

Member Avatar for CFROG
0
89
Member Avatar for valonesal

Im looking for a membership area script that allows control over each members, members area. So when they log in they see their products or services and no one else can see these things. So if someone else orders the same thing they would get their own area for download …

Member Avatar for CFROG
0
115

The End.