39,402 Topics

Member Avatar for
Member Avatar for jitender.ind

Hi, I'm having a very strange problem. I use lampp on centOS linux. My application has a upload Script (in PHP) which uploads file to file system. after upload and moving file to correct location, uploaded files are getting deleted. I check file upload and moving of file by putting …

Member Avatar for FlashCreations
0
199
Member Avatar for smartness

I have downloaded a lyrics script, and that works, but the author of that script didnt create a file for submiting lyrics... i have tried to create a script but im not a php pro so i ask help from daniweb, to help & create that ""submit.php""... the one who …

Member Avatar for smartness
0
337
Member Avatar for Gabzkenya

Hi am working on a project that requires live radio streaming over the internet its a website for an fm radiio station and they need it to stream live. Any one who has an idea on how i should do it pliz help

0
37
Member Avatar for kako13

Hi, the problem is that I don't want the code to insert the [B]script name[/B] in the database. So I added this [CODE] basename($path) != basename($file_path) [/CODE] but don't work and the name of the script is then inserted in the database. What this script do is read all the …

Member Avatar for kako13
0
117
Member Avatar for NoID

Hello Is it possible, to set up a system where if someone goes to google and types "test" and then clicks on my link, it automatically saves the string to my database, so i can see what he/she searched. Iv been looking around for a week, so would apericiate some …

Member Avatar for NoID
0
119
Member Avatar for Cheeki

Hey guys, I'm having a small problem with getting a image map to work when I generate it with PHP. I'm using two separate files. The one is used to display the image which has the image map and the other file is the code I use to retrieve the …

0
78
Member Avatar for sam023

is it possible to fetch data from mysql and storing it in javascript array..!!! . . waiting for valid reply.. :)

Member Avatar for abhims32
0
76
Member Avatar for sam023

just a small query.. . . i just want to know how to enter fetched data into an array..!!!

Member Avatar for kameswari
0
112
Member Avatar for itisnot_me

ok what i have users do is upload files to the server, the files gets renamed for conflicting issues, and then they choose a name they want to call the file. After it uploads it sends that info to the database. now i know that they are going to want …

Member Avatar for itisnot_me
0
6K
Member Avatar for Zurompeta

Hi all, I'm currently using XAMPP and I have discovered that it's using PHP 5.2.9. So, I'm attempting to upgrade my PHP. I did the following: [B][U]Attempt #1[/U][/B] 1. Downloaded "php-5.3.0-Win32-VC9-x86.zip" from [url]http://windows.php.net/download/[/url] 2. Backed up current PHP folder 3. Extracted new files to C:\xampp\php\ (overwrote existing files) 4. Renamed …

0
70
Member Avatar for AbsoluteCPP

I have my back ground in VC# is desktop application development. In VC# [CODE] if(user.Text == "admin") { form f = new AdminForm(); f.show(); } else if(user.Text == "Facaluty") { form f = new FacForm(); f->show(); } [/CODE] on different user level i can open differnt form according to their …

Member Avatar for FlashCreations
0
104
Member Avatar for mrcniceguy

When i type the text myself and click send it Goes to database but when i copy from anyweb and paste in the Text box so as To send. The text is Not Going To Database...And suprisingly its Not giving any Error.Help please,i dont know whats wrong. below is my …

Member Avatar for FlashCreations
0
69
Member Avatar for karin21

hi there guys! how can i add textbox using button? i know that it can be done using javascript but i was required to use php. Is it possible to do it in php? thanks

Member Avatar for FlashCreations
0
70
Member Avatar for danimal132

sorry about this noob question, but i am new to PHP. i created a databse in PHPmyadmin to handle IP adresses and was wondering what type should it be ( int,varchar.etc.) i will be using $referrer = $_SERVER['HTTP_REFERER']; to compare the database to this. i was also wondering if there …

Member Avatar for FlashCreations
0
104
Member Avatar for otakua

Okay, I had a thread in the HTML and CSS section, but I'm going to put a new one here with more detail. My friends have created a Cabal private game server, on THEIR computer. Im trying to create a site for it using my computer, but AS OF NOW, …

Member Avatar for chrishea
0
104
Member Avatar for progtick

I have googled it so many times, and I still feel clueless about what language I should go with. I feel comfortable in ASP.NET, and I have coded some small stuff here and there in PHP too. 1) I do not have visual studio 2008. I have Visual Studio 2005. …

Member Avatar for progtick
0
254
Member Avatar for BigFormat

Hi all, I would like to perform a conditional get of a file using PHP and cURL. How can I detect 304 code sent via HTTP headers and avoid to download the entire file?

Member Avatar for BigFormat
0
61
Member Avatar for JRM

I have searched the web, the PHP manual and checked some reference books, but I can find any satisfactory answer to my question. Perhaps It my poor grasp of the constructor concept and it's proper application? Here is the issue: I have a an existing class constructor definition that I …

Member Avatar for JRM
0
88
Member Avatar for nizar-t

[COLOR="Green"]How can I block a content from being copied and right clicked ...................................I want to block some images and some text........ please I want it fast[/COLOR]

Member Avatar for almostbob
0
81
Member Avatar for masterjiraya

Is it possible to have this scenario... there are many buttons those buttons are the functions in the scientific calculator whereas the numbers are also included in the buttons.... just like the scientific calculator... the numbers must be placed in one text area and the result in another text area …

0
40
Member Avatar for B0tman

I'm having trouble gaining admin access to user accounts whose names are spelled the same, with the only difference being that one is spelled in lowercase. (ex.: Bill vs bill.) When I try to bring up the lowercase account in the ACP, it always brings up the uppercase account by …

Member Avatar for B0tman
0
137
Member Avatar for Josh Connerty

Hey guys, I am in the proccess of setting up my server. It is running Windows Server 2003 R, with IIS 6.0 (I think). Now the issue came when installing PHP. First off I got a IIS timeout error whilst running a PHP script containing [b]no[/b] php :@. I managed …

Member Avatar for gbarnas
0
146
Member Avatar for rajeesh_rsn

Hai, I had a small doubt in my php script. I need to select 10 random numbers from a range ( for eg: 2-88) and stored it in an array. For eg: [ICODE]$number=rand(2,88);[/ICODE] This returns only one value from the range 2-88. I need 15 random numbers from the given …

Member Avatar for rajesh_kanna
0
146
Member Avatar for rajesh_kanna

Hai friends, I m gettin error as no such file or directory found,.. Here is my code,.. Can anyone help in resolving this problem,.. [code=php]<?php ?> <form action=" " method="post" enctype="multipart/form-data"> <input type="password" name="pwd" /> <input type="file" name="try"> <input type="submit" value="submit" /> </form> <?php if(isset($_FILES['try'])) { $source_file = $_FILES['try']['name']; $dir …

0
51
Member Avatar for gagan22

Hi all, I am working on an application in php. Now my client want that when i will send mail from form then in message there should be some html code or template of html. Please tell me how i can send this through mail of PHP. Let me explain: …

Member Avatar for hireaprogrammer
0
212
Member Avatar for mozan

i have a file sharing script. here is its demo and ther is also zip file of 3 MB in latest uploade [url]http://xtrafile.com/xu/[/url] i want some change in this script i want more then two pages should be displayed to download file one vil only give file information include a …

0
59
Member Avatar for servis

hellow everybody, i have created a image gallery, i am displaying a button name "[B][COLOR="Red"]Collect[/COLOR][/B]" with every image, when ever a registered user clicks on this button, the image id will be stored in the database table, but it must be behind the scene, i mean without refreshing the whole …

Member Avatar for SimplePlan2k8
0
532
Member Avatar for v2v3

Hi, I'm trying to execute a script and I get the following php error: [CODE] Warning: require(/var/wkscript/www/admin/inc/config.inc.php) [function.require]: failed to open stream: No such file or directory in /var/wkscript/www/school/phphomework/admin/RunFirst.php on line 16 Fatal error: require() [function.require]: Failed opening required '/var/wkscript/www/admin/inc/config.inc.php' (include_path='.:/usr/lib/php') in /var/wkscript/www/school/phphomework/admin/RunFirst.php on line 16[/CODE] What could be the …

Member Avatar for ShawnCplus
0
67
Member Avatar for tulipputih

Hi, anybody know on how to create table like this- [URL="http://mycbr-project.net/tableEditor.html"]table editor[/URL]- in MySQL? I need to retrieve the value & compare it with the query value ( I am doing this using php). help is really appreciated

Member Avatar for tulipputih
0
119
Member Avatar for softeye

long time reader first time poster :-) Hi, i have a form that get all the info from flash and send the vars to php form all works well but hebrew.... i get some "jibrish" other experiments i made shows: a. if $content = "some hebrew characters"; embed heb-text in …

Member Avatar for omniuni
0
184
Member Avatar for danimal132

how do i access PHPmyadmin on the (server) system. i was given the username, password and the SFTP server for the website. is there a special url i need to go to... sorry about the NOOB question.. any suggestions?

Member Avatar for chrishea
0
114
Member Avatar for whitestream6

I'm trying to get multiple variables to work in the query string with PHP. This is my code: [CODE]<? $programme=$_GET['programme']; switch ($programme) { case 12578: include("http://mysite1.com/programme/TopGear"); break; case ER: include("http://mysite1.com/programme/ER); break; default: echo "page not found!!!!"; } $hPage=$_GET['hPage']; switch ($hPage) { case 1: include("page1.php"); break; case 2: include("page2.php"); break; case …

Member Avatar for Airshow
0
195
Member Avatar for ramsri05

Hello Friends,:) I want to compare each row in the excel sheet with mysql database table fields in order to eliminate the duplicate entry while inserting data from excel sheet into that particular mysql database table. Can anybody provide me the logic ? I have added my code here. Please …

0
41
Member Avatar for johnfrey

Uploading a file is a basic requirement of most of the websites. In this post, I will explain in detail about how to upload an image using PHP. First of all, we will add HTML code to display the browse button to upload an image: [CODE]<FORM ENCTYPE="multipart/form-data" ACTION="_URL_" METHOD=POST> Upload …

0
59
Member Avatar for BigDan531

okay heres my code below: [code] $keys = rand(10000,99999); $fkeys = rand(100,999); $bkeys = rand(100,999); $key = $fkeys,$keys,$bkeys; echo $key [/code] this line "$key = $fkeys,$keys,$bkeys;" is giving me errors. i would like the result to be something like $fkeys$keys$bkeys. Any idea how i would be able to do that?. …

Member Avatar for innocent.boys
0
97
Member Avatar for daved83

Hi, I'm a Php novice. I need to perform a function based on whether a sqlquery result is a float value or not. I can do it with any variable but query results. I don't know what the reason is for this and have wasted all day on it! Any …

Member Avatar for daved83
0
67
Member Avatar for BigDan531

okay guys heres the problem. i have installed iis, and i am trying to send emails through a php script. i have followed all steps listed in [url]http://www.ruhanirabin.com/php-sendmail-setup-with-smtp-iis-and-windows-servers/[/url] . the page lists a php script [code] <?php if(mail('user@mydomain.com','test subject','test message')){ echo('ok'); } else{ echo('not ok'); } ?> [/code] When i …

0
61
Member Avatar for Amaina

Dear friends I am creating a php login/register form to register and authenticate users.My problem is that the form does not submit the data in the form to the database.Please see the code below: [code=php]<?Php session_start(); /****************/ //original Amaina......slowly coming of age// include 'dayta.php'; //connect $link = mysql_connect($database_host, $database_user, $database_password); …

Member Avatar for Amaina
0
184
Member Avatar for lan89

Hello I want to show my statistics data, now the system only show the data which is recorded only. For example, if 07-08-09 ( visitor 10 person ). Then for 06,08,09 (visitor 0 person) Now the system only show date which have visitor only. The date which have no visitor …

Member Avatar for sam023
0
58
Member Avatar for ayuscomeyh

how to pass the value 'id_category' from this page list.php [code] <title>home</title> <!--for auto refresh--> <META HTTP-EQUIV=Refresh CONTENT="300; URL=http://localhost/recipe2/home.php"> <body> <div align="left"><img src="Cookie Banner edited.jpg" width="1100" height="200" /></div> <h2>My Account </h2> <p>chef today : <?php echo $_SESSION['myusername']; ?> | <a href="logout.php">Logout</a> </p> <p>&nbsp;</p> <p>&nbsp;</p> <?php include 'recipe2db.php'; $sql="SELECT id_category FROM …

0
61
Member Avatar for xuexue

guys i need help, how could i get the id of a button? i have this code [code] echo "form action = 'sec_ph_fileMain.php' method = 'post'>"; echo "<input type = 'submit' name = 'upload' value = 'Upload' id = 'hi'>"; //variable declaration $upload = $_POST['upload']; [/code] what i want is …

Member Avatar for xuexue
0
119
Member Avatar for 68thorby68

It's day 5 of reading expert analysis, white papers and a myriad of posted mailer classes, but I seem to be so far away of constructing my PHP script to prepare and send a text and attachment email. Below is the "hash" of different codes I have been able to …

Member Avatar for noelthefish
0
263
Member Avatar for EvilOrange

hi was just wondering what the difference is between the echo and print_r commands bacause when i run this code: [INDENT][CODE]<?php $output = "this sentence"; $face = explode(" ", $output); print_r($face); echo $face; ?>[/CODE][/INDENT] it outputs Array ( [0] => this [1] => sentence ) Array so the echo isn't …

Member Avatar for EvilOrange
0
129
Member Avatar for danimal132

this is a complete NOOB question but i need help. I have WAMP installed and was given a IP address, the user name and password to the site so i could edit the html. But i need to edit the PHP. I need to add a few more fields to …

Member Avatar for rahul8590
0
76
Member Avatar for Tkirbs

I am working on a website with a custom CMS built into it and on the index page of the site I am pulling two different sets of information from the database and there are read more links that I would like to have link up to two different pages. …

0
51
Member Avatar for rahul8590

i have created a database initially and had framed only one table. The php script was working fine , i could store values and reterive from them. I again created one more table in the same database , inorder to store data in it. but the PhP script is by …

Member Avatar for rahul8590
0
139
Member Avatar for decay

Hi I am running on hosts shared server - windows 2003 with IIS 6 and apache but they can't redirect in IIS as its shared and I have no .htaccess rights even if I did my hosts say it is very limited. I also have front page server extensions installed. …

Member Avatar for decay
0
253
Member Avatar for satheeshn

Hi friends, I have use relative div positions with in 5 div absolute div position elements. How write in pdf using php. Regards, Satheeshkumar sample code. [code=php]<?php for($i=0;$i<$count;$i++) { ?> <div style="position:relative;border:solid 0px black;width:600px;height:230px;top:5px;"> <div id='dt' style="position:relative; top:<? echo $dty]-400; ?>px; left:<? echo $dtx]; ?>px; text-align:left;" name=dt><?php echo $dat[$i]; ?></div> …

0
47
Member Avatar for silntj101

Hi all, I'm currently developing a search engine that allows users to upload urls of educational programmes to a database as well as add their own keywords for later searching. This all works fine, i want to know if it is possible to update a single field in a table …

Member Avatar for silntj101
0
98
Member Avatar for ayuscomeyh

after login, go to this page. client will click those button then view each recipe they click. list.php [code] <?php session_start(); if(!isset($_SESSION['myusername'])&&!isset($_SESSION['mypassword'])) { header('Location:401.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> <!--for auto refresh--> <META HTTP-EQUIV=Refresh CONTENT="300; URL=http://localhost/recipe2/home.php"> <title>home</title> </head> <body> <div align="left"><img src="Cookie …

Member Avatar for CFROG
0
11K

The End.