39,316 Topics

Member Avatar for
Member Avatar for KE50

Hello All, I have been wondering how possible is it to have an application that would run a php application that would be used for making the database updates as well as handling the business logic while on the front end, have delphi forms So The form will be used …

Member Avatar for pritaeas
0
672
Member Avatar for prathapsv3

I have just started to learn PHP.I have installed Netbeans and WampServer, now when i run a sample php code in netbeans, browser showing 404 error.i think everything installed correctly,may be its because of some connection problem with browser and netbeans,should i change something in project properties?.Could someone please help?

Member Avatar for Marcus mouse
0
488
Member Avatar for veledrom

Hi, I have a webform where users insert their personal data into db. What I want to do is to prevent duplication in PHP code. Currently I'm using query below but some users do deliberete things to go through this validation like swoping name&surname etc. I know that if the …

Member Avatar for pritaeas
0
93
Member Avatar for cali_dotcom

hi guys, i am currently building a nice website and i was just wondering about the best way to handle errors, database and webservices errors. i was thinking on implementing a mixture of file and db logging. so basically i would log to db all the time and then i …

Member Avatar for pritaeas
0
141
Member Avatar for davy_yg

This is my html: <html> Cross Site Scripting Security <form action="komentar5.php" method="POST"> Nama: <input type= "textbox" name="nama" /><br /> Email: <input type= "textbox" name="email" /><br /> Komentar:<textarea name="comments" rows=10 cols=40></textarea><br /> <input type="submit" /> </form> </html> komentar5.php <?php $nama = isset($_POST['nama']) ? $_POST['nama'] : ''; $comments = isset($_POST['comments']) ? $_POST['comments'] …

Member Avatar for pritaeas
0
140
Member Avatar for davy_yg

spoofedform.php <html> Spoofed Form Security <form action="receive.php" method="POST"> Nama: <input type= "textbox" name="nama"></br> Warna Favorit: <select name="color"> <option value="red">red</option> <option value="green">green</option> <option value="blue">blue</option> </select> <input type="submit"> </form> receive.php <?php $nama = isset($_POST['nama']) ? $_POST ['nama'] : ''; $color = isset($_POST['color']) ? $_POST ['color'] : ''; // escape output $newnama = …

Member Avatar for niranga
0
135
Member Avatar for edesign95

I want to send query in Html form 'action' to get data from other site. let suppose my url is http://abc.xyz/index.jsp?number=**<?php echo $number;?>** Problem is i can't execute php script in form action.When i press submit it just go to http://abc.xyz/index.jsp?number= without php output value.Is it possible that way? Please …

Member Avatar for diafol
0
1K
Member Avatar for nova37

hello i want to know that how pass parameters to mysql query inside php function i have written function but giveing me error error: mysql_fetch_array(): supplied argument is not a valid MySQL result resource function d_loader($r_ip){ global $con; $result = mysql_query("SELECT * FROM table WHERE h_ip ='$r_ip'"); $row=mysql_fetch_array($result);}

Member Avatar for nova37
0
317
Member Avatar for karthik_ppts

Hi Frendz, I have a set of polygon points on google map. I need to find whether the given input point is lying inside of the polygon or not? If anybody found articles related this please guide me. And also i need the same with poly line.

Member Avatar for msgrasser
0
5K
Member Avatar for jacob21

Hi, I wannt to upload an excel sheet & display the excel sheet content on that page after uploading. Need Help/suggestions

Member Avatar for akmozo
0
61
Member Avatar for ztirt
Member Avatar for cereal
0
109
Member Avatar for dza

Hi guys Our college has a website(php, html, css) that is hosted elsewhere, but now we have a college database (mssql) on a local server and the Director wants me to link the website to the database at the college's server. Any ideas on how to do that? thanks in …

Member Avatar for CarterLangley
0
107
Member Avatar for drjay1627

Hello, I need some help sorting out this error: *Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/new/Archive/phplogin/includes/main/header.php:3) in /Applications/MAMP/htdocs/new/Archive/phplogin/register.php on line 71* I've included the code below, can someone please help me figure this out. I've been working om this issue for 4 hours …

Member Avatar for diafol
0
197
Member Avatar for jaagup.pold

Hi! I am a newbie in PHP and I have a problem. I have a file upload script. In the form one can choose a path (you can choose it from a drop-down menu). But I don't have no idea hot to post it to the PHP file. It's the …

Member Avatar for jaagup.pold
0
164
Member Avatar for davidbernardino

Can someone please help and tell me what I am doing wrong. <html> <head> <title>FRHG Guest Wireless Account Creation or Deletion</title> </head> <body> <h1 align= "center">Fremont-Rideout Health Group</h1> <h1 align= "center">Guest Wireless</h1><br /><br /><br /> <form method= 'post' action= '<?php echo $PHP_SELF;?>' id='form' accept-charset='UTF-8'> <fieldset> <legend>Account Creation/Deletion</legend><br /><br /> <label …

Member Avatar for davidbernardino
0
72
Member Avatar for Joemeister

Can you perhaps tell me why I'm getting this error? I'm trying to upload a image to a database through php and I'm getting this error the whole time in my picUpload.php These are the errors I'm getting: [CODE] Warning: move_uploaded_file(avatars/beetgejo.jpg) [function.move-uploaded-file]: failed to open stream: No such file or …

Member Avatar for jamied_uk
0
2K
Member Avatar for wastedkill

Hi I am trying to do a new design in this script and I have no idea why but when I put my html/css footer code in the php file it doesn't put the footer where it should be. Here is what I mean [[Click Here](null)](http://revenue.maximumcreation.com/login.php) and this is the …

Member Avatar for wastedkill
0
291
Member Avatar for ayesha25

how can i remove wamp completley from my system. i have tried un installing it from control panel,,i tried multiple times and reinstalled it,,,but it gives same error,,,it means its not completely removed,,,how can i get rid of this?

Member Avatar for salimsazzad
0
782
Member Avatar for thilipdilip

**Hi**, #need to generate a report like Table Format(Excel Sheet) # this is an example view of the report which I need of it is for maintaining branch wise details In that product name contin in one table and stock of each branch will contain in another table -------------------------------------------------------------------- | …

Member Avatar for diafol
1
431
Member Avatar for rileyganimator

Okay, I'm trying to use my own php.ini file, so I edit the .htaccess file to look like this: suPHP_ConfigPath /home/u471282391/public_html/ The file is /home/u471282391/public_html/php.ini But when I update the .htaccess file, everywhere I go on my site returns Internal Error 500. The contents of the php.ini file are: post_max_size …

Member Avatar for cereal
0
100
Member Avatar for nova37

hello i have phpmyadmin installed now new version is realeased so i want to upgrade myphpmyadmin to latest i tried from ssh yum upgrade phpmyadmin but yum have no packages for it so pelase help with it i jsut want to upgrade it so that server other modules are not …

Member Avatar for thilipdilip
0
196
Member Avatar for magicmarkuk

Hi I am using a script similar to Scriptlance which is using the server time to datestamp everything and display dates and times of the start and end of projects. The problem is that the server is in the US running on PDT time and I am in the UK …

Member Avatar for magicmarkuk
0
247
Member Avatar for vijayram

Hi everybody, i have error in Notice: Undefined variable: profile_records in C:\wamp\www\user\apps\frontend\modules\main\templates\profileSuccess.php on line 21 plz help me. index.php <div id="frm_edit" class="float-right"> I'm <?php echo $profile_records['sex'] ?><br /> <?php if ($profile_records['birthdate'] ): ?> I was born on <?php echo date("F j, Y", strtotime($profile_records['birthdate'])) ?><br /><?php endif ?> <?php if ($profile_records['relationshipstatus'] …

Member Avatar for simplypixie
0
110
Member Avatar for takeshi

Hi guys! Gday'..i have a program of counting of votes..i want to add [ICODE]viewing_bycourse.php[/ICODE] and [ICODE]viewing_bydepartment.php[/ICODE] for those who are already voted.. done with listing of all users who are already voted so i want to show the list of users by course and by deparment.. i dont know if …

Member Avatar for test1234qsr
0
451
Member Avatar for webenveloper

Hello all, How many ways are there to put variables into a query? The reason I ask is that I cannot get "SELECT * FROM locations WHERE title LIKE '%".$input."%'"; The "SELECT * FROM locations" query only does give me the full table but using that input variable substitution (from …

Member Avatar for webenveloper
0
184
Member Avatar for vasvigupt

I trying to sort an array ising php but this code is not working. can any body tell me whats wrong with this code, is my logic is right or wrong. I don't know much about Php as I am new to learning php <? php $a= array(12,5,78,10,63,11); $size=$sizeof($a); for($i=0;$i<=$size;$i++) …

Member Avatar for Que336
0
271
Member Avatar for Nabaneeta

I have two dropdwon box. First box has names of the states. Choosing a state will populate the second dropdown box that contains cities of that selected state. For all states city names are stored in mysql database table. now I am little confussed how to model the table and …

Member Avatar for diafol
0
392
Member Avatar for dinhunzvi

i have recently started using linx mint 13. have installed the LAMP package but i now have trouble creating the folders for the websites i want to develop. can i use the terminal to create the folders on the file system?

Member Avatar for cereal
0
140
Member Avatar for BadManSam

Hi, So I have a login system but when I create an account and activate it through email. It goes through but then the style.css does not apply so all the backgroung and images fail. So the link is like this. http://www.site.com/register.php?mode=activateusername=user&activationcode=D56gsjd and the html and all the rest doesnt …

Member Avatar for BadManSam
0
122
Member Avatar for raine

<? $connect = mysql_connect("localhost", "adamf", "adamf123") or die ("Wrong password, jerk."); mysql_select_db ("adamf"); $insert="INSERT INTO product (product_id, product_name, product_type, product_brand, product_year) VALUES (1, 'Cyber', 1, 1, 2001), (2, 'Motive', 8, 1, 2005), (3, 'Oracle', 8, 2, 2005)"; $results = mysql_query($insert) or die(mysql_error()); $type="INSERT INTO producttype (producttype_id, producttype_label) VALUES (1, 'Heads'), …

Member Avatar for get-innocuous
0
849

The End.