39,320 Topics

Member Avatar for
Member Avatar for riseguim

Hi there, How can I ignore case sensitivity when people type in letters and get redirected through this script: <?php if($_GET['username'] == "BBY"){ header("Location: http://www.x.ca"); } elseif($_GET['username'] == "RS"){ header("Location: http://www.x2.ca"); } elseif($_GET['username'] == "WM"){ header("Location: http://www.x3"); } elseif($_GET['username'] == "RP"){ header("Location: http://www.x4.ca"); } elseif($_GET['username'] == "SM"){ header("Location: http://www.x5.ca"); } …

Member Avatar for riseguim
0
131
Member Avatar for mhaselip

Hi. i was wondering if somebody could help me. Im looking for a php function to check a get and post methods for any type of hack or injection i.e. xss php java html mysql injection. the function needs to check the get or post methods prior to using it …

Member Avatar for dany12
0
195
Member Avatar for nyler01

Hi there, I am totally new in javascript and i need a help because i dont know how to create script that confirm the user's choice and submit it to the parent page before the parent page make a process. like this. i have a page that shows the details …

Member Avatar for daydah
0
179
Member Avatar for PF2G

hi all i'm wroking on a music website. and now i'm doing a sort of contact form, where people can send the name of a band, the description of the band and the image wich can be from the user's computer or from the internet (inserting th image url). Can …

Member Avatar for PF2G
0
81
Member Avatar for kimmi_baby

Hi, I'm trying to link a thumbnail to the link I assign it to in wordpress when I first uploaded the image. I know it's originally set to the image itself but I would like to change this. At the moment the thumbnail doesn't link anywhere. The code I have …

Member Avatar for simplypixie
0
127
Member Avatar for mano7859

Hi, I got a problem with class. I've created 3 classes: * identifiantsClass.php * connectInfosClass.php * sqlClass.php In my third class, i always have the message: "error to connect" even if my database's name is good. Please help me... * identifiantsClass.php class Identifiants{ protected $serveur=null; protected $host=null; protected $mdp=null; protected …

Member Avatar for veedeoo
0
134
Member Avatar for blaaam

Hello! I have few problems. I hope you will understand me and can help me :) 1st - I have large input form, so if i press sumbit button then it makes large query thats slows down my page and database is overload, in form is somewhere about 180 colums. …

Member Avatar for blaaam
0
356
Member Avatar for hemal3355

Hi guys, I'm doing a leave management system using PHP. in there a function called leave request,when the employee request a leave, system should be sent a notification to his/her reporting manager reminding he has to approve a leave request and also when the reporting manager accept/reject leave request it …

Member Avatar for diafol
0
68
Member Avatar for richlacey

Hi there guys, not sure if anyone can help me here. I am creating a basic members site with small gallery and I wish to lockdown the URL somehow. e.g. http://domainname.com/memberFiles/8/gallery/gallery_config.php At the moment all of the other pages are locked down via a session id variable, but I need …

Member Avatar for richlacey
0
204
Member Avatar for Aiedail

My code does not work in certain versions of IE and I want to include a conditional comment that includes a different navigation file so that links to pure html5 content wont be there. is there a way to remove the include of the menu.php and then i can just …

Member Avatar for Aiedail
0
246
Member Avatar for erik216

My original path in php code is redirect('abc.php?satisfaction=5&surname=trfhtrd&given_name=tryhtr'); It can show normally in url bar on firefox and chrome. I cam get all information But on IE url bar It shows abc.php?satisfaction=5®_surname=trfhtrd®_given_name=tryhtr So I cannot get information Why? What happen I facing?

Member Avatar for cereal
0
66
Member Avatar for pinky khan

I am trying to modifying a website made in html to php.All php pages are working fine individualyy but not loading in frames.PLz help.....

Member Avatar for pinky khan
0
1K
Member Avatar for dany12

I have wrote this class in php from scratch there is no copy paste or anything like that I tried to create a base class for my projects and know I don't know if this is good Here is my code and I don't know how to use it I …

Member Avatar for dany12
0
367
Member Avatar for sigit_p

Hi all,.. Need help for my script, i want to make update form for my database so i make script as follows update.php <form id="form1" name="Update" method="post" action="add.php"> <table border="0" cellspacing="10"> <tr> <td>Asm Manual Id:</td> <td><input type="text" name="id"></td> </tr> <tr> <td>Asm Manual name:</td> <td><input type="text" name="sheetname"></td> </tr> <tr> <td>Image URL(Link):</td> …

Member Avatar for sigit_p
0
280
Member Avatar for ebanbury

Hi I have the following prepared statement for an UPDATE query: However I'm getting the following error message: Fatal error: Call to a member function bind_param() on a non-object in /home/dreamsin/public_html/DEV/edit_condo_review.php on line 467 All my columns are correct and match up and exist and I've used this prepared statement …

Member Avatar for ebanbury
0
234
Member Avatar for mcwebalizer

I make newsletter with my own developed newsletter sending system. Testing in gmail, yahoo, hotmail some images doesn`t display due of img src rewrite of gmail, yahoo or hotmail. It looks like that there are spaces inserted in img src address because viewing image source there are "+" (plus) sign. …

Member Avatar for cereal
0
197
Member Avatar for sasankasekhar

Dear friends, This is my table: CREATE TABLE IF NOT EXISTS `exam_student` ( `exam_roll_no` int(10) unsigned NOT NULL AUTO_INCREMENT, `enrol_id` int(10) unsigned NOT NULL, `exam_id` int(10) unsigned NOT NULL, PRIMARY KEY (`enrol_id`,`exam_id`), KEY `exam_roll_no` (`exam_roll_no`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; I am trying to get the field **exam_roll_no reset …

Member Avatar for pritaeas
0
109
Member Avatar for sumain

Hi all, i have 2 shared host server(www.nextsoftech.com(ip:64.202.123.78) and www.simpletelecomltd.co.uk (ip:208.91.198.107)). i want to access nextsoftech.com 's database from simpletelecomltd.co.uk 's script. that's means i stor all script simpletelecomltd.co.uk this server. Would any one help me how can configure and what is the connect code in php? thanks you sumain

Member Avatar for pritaeas
0
145
Member Avatar for RazorRamon

I need some help. I'm loading a .php file using jquery. the php is a mysql query that pulls all the cities from Alaska. The problem is that I wrote my query a certain way and it seems jquery changes it when it loads it. state_alaska.php include 'config.php'; include 'opendb.php'; …

Member Avatar for pritaeas
0
233
Member Avatar for jonnny_brown

Hi guys sorry to bother you i just wanted to ask a quick question using dreamweaver along with PHP in dreamweaver i have managed to populate a list menu with data from a database. i wanted to know if it is posible to display text from another field within that …

Member Avatar for diafol
0
197
Member Avatar for <M/>

How do I sort this loop? I can't sort it because I just began learning PHP, so I don't know as much as most of you users... Can anyone help me? <?php $red = array(); $x=0; $min=500; $max=2000; echo "<table border=\"1\">"; for($row=1;$row<=20; $row++){ echo "<tr>\n"; //Need table ONE to have …

Member Avatar for somedude3488
0
221
Member Avatar for codeblock

Hi all, I'd like to know if it is possible to create a php script that would take the names of image files with its extension of say 10,000 images from out of a folder and place them into a database table in separate rows to use as sample data? …

Member Avatar for codeblock
0
94
Member Avatar for gilgil2

Hi I have two Mysql tables, one with the information in and another with payment information in. I want to echo the results that have paid first and then the rest of the results. If information has no payment associated with it it does not appear in the payment table. …

Member Avatar for gilgil2
0
249
Member Avatar for spajky

In my web application I'm using the Lightbox v2 by Lokesh Dhakar. Now i want to refresh image in lightbox every second. Note: Lightbox is trigered by: `<a href="screenshot.jpg" rel="lightbox"><img src="images/Screenshot.png" alt="" /></a>`.

Member Avatar for diafol
0
318
Member Avatar for masocha

l have a php script writing to TCP socket. This connection needs to be always one as it can receive data anytime from the server. Now **problem** is only the first instance of socket_write works. i need to keep reading and writing data to the socket Just to clarify l …

Member Avatar for masocha
0
129
Member Avatar for my3h

I have two files, ApplicationRegister.php and UserRegister.php In ApplicationRegister.php the user fill the details and submit the form to database, it redirects to UserRegistration.php. In UserRegistration.php, User fills up the form and save the data to the lastest inserted id. I have used mysql_insert_id() to get the last inserted id, …

Member Avatar for hemgoyal_1990
0
242
Member Avatar for abhi10kumar

I am using Hindi Font and storing into database. While inserting I use mysql_real_escape_string() function; its working fine on local but not on server. **showing on server** Its adding extra slashes; but in local its showing correct INSERT INTO `tbl` (`num`, `address`, `name`, `father`, `state`, `city`, `gender`, `mobile`, `namdan_date`, `file`, …

Member Avatar for abhi10kumar
0
130
Member Avatar for dagtad

I'm trying to develop an interactive website using php and i want to display image(retrived from mysql database) and some text on the home pag. but the image retrived from my database fills the whole page. how can i display both text and image on the same page?

Member Avatar for diafol
0
887
Member Avatar for vijayram

Hi evrybody, i created fileuploader,user upload photos,the photos arranded in random size. i need display photos three random size first image automatically getin width:140,second:190,thrid:240. more than 10 images user uplaod. next image getin size 1; all the images display overlap. This is my fileuplaod code. public function executeUpload(sfWebRequest $request) { …

Member Avatar for diafol
0
153
Member Avatar for apanimesh061

A way to measure internet speed through javascript is given here ... [Click Here](http://jsfiddle.net/yahavbr/tEFpC/2/) for it, it uses a big image to download and then divides the time taken by the size of the image ....! Is it possible to measure the speed using a video streaming website like Youtube …

Member Avatar for pritaeas
0
207

The End.