39,316 Topics

Member Avatar for
Member Avatar for komrad

Hello all, I'm a learning php this year but i encounters some problems. One of them is about php value. The problem is how do i do to prevent a php file from resending the same values into the database whenever the page is refreshed? Anyone help? Thanks, Asep

Member Avatar for Shanti C
0
96
Member Avatar for OmniX

Hi, I have a few questions in regards to checkboxes I wanted to confim. Your code is below: [code] <input type="checkbox" name="checkbox[]" value="1"> <input type="checkbox" name="checkbox[]" value="2"> <input type="checkbox" name="checkbox[]" value="3"> <input type="checkbox" name="checkbox[]" value="4"> <input type="checkbox" name="checkbox[]" value="5"> [/code] Now what happens next? The checkbox array is checkbox[0] = …

Member Avatar for Shanti C
0
93
Member Avatar for twmprys

Sorry to ask such a stupid question, but can't understand why this simple instruction to upload a file (passed from an html form) isn't working: move_uploaded_file($_FILES['pic']['tmp_name'], 'files/pic.jpg');

Member Avatar for PoA
0
122
Member Avatar for XPlus

I've this php script that displays information stored in a MYSQL DB.. it shows the data in a tabular format.. What i'm trying to do is to make php sort the data in the table according to what user specifies (by clicking a link that sends a value using GET).. …

Member Avatar for HazardTW
0
99
Member Avatar for benutzername123

Hi there. I've been attempting for a good few months to develop a new webpage at [url]www.mnc99.com[/url]. You can see my current efforts at [url]www.mnc99.com/index.php[/url] . Notice that the movie you will receive (morning, afternoon, evening) depends on the time you access the page. You're more than welcome to inspect …

Member Avatar for benutzername123
0
175
Member Avatar for chicago1985

I am thinking of going with ColdFusion Enterprise over my current PHP. We do alot of web apps working with MySQL and Oracle. I have no problem paying for it compared with free PHP because I hear that ColdFusion can cut down my development and debugging time. It also seems …

Member Avatar for PoA
0
166
Member Avatar for Shanti C

HELLO all... Good Afternoon!!!! Currently i am developing a website...In that website i want to ad management ,where we can add and manage different ads with different prices, in different place on our website with time and etc... Any body have any scripts or any ideas to develop this kind... …

Member Avatar for PoA
0
127
Member Avatar for wickedsunny

heyz guyz i am working on a site and i have taken its gallery system from a script provdiers. but i can't find out how to get meta tags workin in php coz its in php language. and i dont know it can u please help

Member Avatar for wickedsunny
0
67
Member Avatar for joelogs

i was trying out how to configure manually postgreSQL and mySQL database servers into Apache with php as a module. luckily i was successful in configuring those things. however, to have better management on mySQL databases in tried to install and configure phpMyAdmin. but i always encounter error (attached image …

Member Avatar for joelogs
0
112
Member Avatar for twmprys

Hello, hope someone can help. I've created a simple interface for a website owner to carry out very limited editing. On the first page, there's a form which uploads just one picture to a picture folder and inserts text into a database field. That works fine. Now I need to …

Member Avatar for twmprys
0
104
Member Avatar for Venom Rush

Hi there I have a problem with sessions at the moment. My aim is to be able to use sessions with out getting those ugly url's. In my php.ini session.use_trans_sid is on and session.use_cookies is on. I'm using ini_set("url_rewriter.tags",""); to stop the server from creating url's with PHPSESSID=bunchofrandomnumbersandlettershere which works …

Member Avatar for cwarn23
0
188
Member Avatar for Punkis448

Hi all! I am looking for some free/paid social network scripts. Any suggestions ? Thank you

Member Avatar for wickedsunny
0
100
Member Avatar for Arsench

HELLO, I HOME THAT HERE SOMEONE CAN BE A MAGICIAN AND WILL HELP ME PLEASE. IM A NEW IN PHP WORLD AND NEED YOU HELP PLEASE. I HAVE A DB WITH NAME examen IM CONNECTING TO THIS DB AND THERE ARE A 6 FIELDS FIELD 1 IS QUESTION FIELD 2 …

Member Avatar for Shanti C
0
92
Member Avatar for rajeesh_rsn

I am new to PHP I need a little help in my php login script... I had 3 pages 1. index.html (user type username and password ) 2. login.php 3. logout.php ie [B][U]index.html[/U][/B] <html> /Main Page /////// <body> <form action="login.php" method="post"> <input name="uname" type="text" id="uname" /> <input name="pass" type="text" id="pass" …

Member Avatar for Shanti C
0
115
Member Avatar for techbongo

I'm having a web hosting company. We're developing our website, ourselves. For our web design pages, (snipped) we are willing to show some dynamic snapshots/thumnails of our clients' websites. ie, we need some PHP code which can generate a JPG or GIF thumbnail of a certain URL (preferred size is …

Member Avatar for Shanti C
0
67
Member Avatar for Diode

I'm not sure if this should go in the MySQL board, or this, since it deals with both PHP and MySQL. But anyway, I am making a sports memorabilia site for a guy. On the item creation page, after I call the function to prevent sql injection, no matter what …

Member Avatar for Diode
0
2K
Member Avatar for krauz2

I am trying to use a switch statement and want the action to be log into a ftp server. I am not able to get it to work...can anyone help? here is what I have now....Thanks everyone in advance. $ftp_server = "ftp://MyFtpSite.com"; $ftp_server = $employeeftp; switch($attn1) { // this is …

Member Avatar for krauz2
0
210
Member Avatar for websurfer

Hello, all: I have this single-file upload script which works great (it's a bit log cause it creates thumbs, unique ID's,e tc), but I am trying to modify it to make it do MULTIPLE files. I figured best way was to apply a foreach loop to it, but havent been …

0
93
Member Avatar for mrcniceguy

In inbox link i want to show how many massage are in it,in such a way if in inbox there are 20 messages and only 5 are unread then to be shown in that link. like this [U]Inbox(5)[/U]. Also in inbox if message is unread to be highlighted,meaning all 5 …

Member Avatar for mrcniceguy
0
96
Member Avatar for nishit_soni
Member Avatar for yasmena

i have a JS that generates fields on the fly i set a counter so that i can count the no. of fields the user generated now i need to loop through these fields and i dont know how to use that JS variable inside PHP for($i=0;$i< "JS VAR";$i++) i …

Member Avatar for HazardTW
0
128
Member Avatar for Weirder_PT

Hello. I don't know if you know what's a PTC site... (it's easily to find out what is it, with a search on google). I was wondering if you would know how can i create bots to click on ads, and make them purchasable to be referrals from who buys …

0
37
Member Avatar for jadamus

Newbie here to learn and share. I've learned the basics of html and css and have started the journey into php. I'm using Dreamweaver to write and guide me along the way with coding. Last two weeks have been pretty intense with the "spry" horizontal menu bar. I have a …

Member Avatar for darkagn
0
63
Member Avatar for cali_dotcom

hi, i just wrote a program for my website with a search function. everything works fine but i have a problem with the links to the other result pages. this is the code [code=text] <?php $errors = array(); if ($_POST) { $mysql = mysql_connect("localhost", "root", "") or die("couldn't connect to …

Member Avatar for cali_dotcom
0
88
Member Avatar for Sheridan

I want to create a "browse" button that will upload the NAME of a file (just the name, NOT the file) and pass that name onto another page. I have written the following: [code=PHP] echo '<FORM ENCTYPE="multipart/form-data" ACTION="InsertImageFile.php" METHOD=POST>'; echo '<table cellpadding = 5 border = 1> <tr><td>'; echo 'File …

Member Avatar for scru
0
67
Member Avatar for vo2corp

Im new on this thing of computers but im really intresting on learning how to creat and understand computers softwares, hardwares and everything about PC. I will like to know if some one can help me on making a keylogger based on Visual Basic Thank you!! for your time and …

Member Avatar for scru
0
77
Member Avatar for Gonzo10

Hello everyone, I am trying to put a value into $value['count']; after the value is clicked the count stays at one or it resets itself any help will be awesome Thank you. [code=php] <table width="61%" border="1" align="center" cellpadding="4"> <?php $count = 1; if (isset($_GET['value'])) { $count++; $value[$count] = $_GET['value']; print …

Member Avatar for Gonzo10
0
101
Member Avatar for tkmc

Hi all, I have been racking my brain today, trying to get a page to run 2 queries. Basically i have a page that has a form on it and there is a bunch of numbers in one of the drop down lists that comes from a table called cab_eticket_numbers …

Member Avatar for HazardTW
0
2K
Member Avatar for jencinas69

I have this csv2xml.php file [code] <?php error_reporting(E_ALL ^ E_NOTICE); ini_set("display_errors", true); ini_set('memory_limit', '24M'); function csv2xml($file, $container = 'data') { $r = "<{$container}>\n"; $row = 0; $cols = 0; $titles = array(); $handle = @fopen($file, 'r'); if (!$handle) return $handle; while (($data = fgetcsv($handle, 1000, ',')) !== FALSE) { if …

Member Avatar for jencinas69
0
163
Member Avatar for vssp

Hi Friends I am working on symfony project. This is new frame work for me. So Please clarify my doubt. This is looklike community site. user able to create own sub domine. Public site have one login page ex([url]www.sample.com[/url]) individual user have one login page ex ([url]www.vssp.sample.com)[/url]. How to seprate …

Member Avatar for ShawnCplus
0
138

The End.