39,402 Topics
![]() | |
Where do i get Remote Access Key for WHM? PLZ SEND ME ASAP.. | |
I have a parsng string problem. I have to parse a string according to [[ ]]characters . and i have write to screen string part that not contains [[ ]] characters. | |
Any one please tell me what is [B]undefined constant [/B] in PHP Like: Key_my_site, ID_my_site etc. And what is [B]get_magic_quotes_gpc()[/B].Why and where it is used? | |
Hi daniweb users My name is luc. I'm from Germany. Before I have started with Python I used PHP. There you have the funktion [B]urldecode[/B] to decode a url string or [B]urlencode[/B] to encode a url string. I don't really know I a function like that in python. can you … | |
Hi all, Im editting a whois script so when it returns the details of the whois search it returns one positive answer if the "loggedin" cookie is found, and another positive answer if it is not, and a negative one if the domain is taken. The whois script works fine … | |
Hi all, I have the code for uploading the file......but to store the uploaded file in database and how to retrieve the uploaded file...... i want the code and logic Thanks in advance | |
How upload file to mysql db in server and show to link in next page the uploaded files .. | |
hi guys, i make some function in vb6 and then i'm complie this to dll, can php read and use function in this dll ??? thanks before :D | |
hii, can anyone please see the doc in this the del is not working pleaseeeeeeeeeeeeeeee Rakesh Nagekar | |
Hi I'm looking for a piece of code that can turn a sql string into an array. Here is an example: [icode]sqlStr = "SELECT p.id FROM products p WHERE ((p.name = 'im a name' AND p.name2="another name") OR (p.name='always with')) [/icode] So that i in this array quickly could add … | |
I am almost done developing this e-commerce site and my client just asked me to add a shopping cart. I have some templates, but I want to start from scratch, is there a specific way of starting to do it? What should I consider when building a shopping cart? | |
hi all; I' am using the encoding type utf8- and its works on the firefox. but when i run my index on the IE 6 and IE 7 it does not detect the utf8. what seems to the problem of this? Can put the type of encoding so that my … | |
[code=php]$getm="SELECT player FROM manutd WHERE player='$x'"; $get=$mysqli->query($getm,MYSQLI_USE_RESULT); while($row=$get->fetch_object()) { $name=$row->player; } [/code] is there anything wrong with this code.........................plz help | |
Assign values to two variables. Use comparison operators to test the first value is: *The same as the second *Less than the second *Greater than the second *Less than or equal to the second Would really appreciate it if some one could do this for me cheers! | |
Hi All, I have been trying to create a php page that will upload a image, create a thumbnai and process a sql query, all automatically. I have attached the two files. The form page (show-addrecord2.php) and the processing page (do_addrecord2.php). The sql statement works fine. I am just having … | |
hi guys....actually i want to ask something.....how to make a step by step of form??? let say, there are about 5 form.....at the top of each form, there is just like a menu, a name of a form......let say, now, i'm at step 3 (upload file), then at the top … | |
Hello Everybody In Php iam using the checkbox and it has been one month i can not solve it; when i select one checkbox from several ones , and i click send e-mail= it is sending to all e-mails; it is not sending to the selected checkbox ; I need … | |
Create a script that usesa while statement that increments through and prints every even number between 1 and 49. Can any one do that for me?!? | |
Can any one please create a php script for me. A script that uses the if....else statement to categorise the marks of a student as First Class,Second Class Upper, Second Class Lower, Pass Or Fail. | |
hello everyone, i m new in php. i got a problem with my php and ajax code. i used div id to show data within html page (data retrieve from database).it's working well.but now i need to put showing value inside a input box. how to do that. can any … | |
can some one please help me! Can any one please answer the following question for me. Describe the circumstances when technologies such as Active Server Pages, PHP, JavaScript, JavaApplets and XML are required?!? I dnt have a clue and i gta hand in my assignment by 5 oclock sum 1 … | |
hey, can some body help me with the CP web hosting services for windows in php...??? Control panel containing [B]site management[/B] consisting of hosted domains, domain manager, FTP manager, file manager, and [B]E-mail options[/B] consisting of E-mail manager, webmail, e-mail fwding. | |
Dear web developer, I am trying to understand why php developers adopt a particular approach when designing their web systems. I have devised a questionnaire located at [url]http://websurvey.here.ws[/url] that takes 10-15 mins of your time. I would really appreciate you completing the questionnaire and sending the URL to any web … | |
Hi, I'll create a Login.php page to check uid and password and let user login to the system. Now, do i check uid and password in same Login.php or i post uid and password to next page to be checked there? What is the best way? Thanks | |
[code]<?php session_start(); include 'config.php'; $post = $_GET['post']; $slected = array(); if(isset($_POST['checkb'])){ if(count($_POST['sa']) > 0){ $do2 = mysql_query("UPDATE ptable SET status='updated' WHERE id='$post'") or die(mysql_error()); if($do2){ echo 'updated'; } foreach($_POST['sa'] as $awrd) { $result = mysql_query("UPDATE ctable SET awarded='yes' WHERE id='$awrd'") or die(mysql_error()); $slected[] = $awrd; if($result){ echo 'awarded'.$usersid; } } … | |
hi all; I have a problem in diplaying the city name. pleas cheack the line of this code. [QUOTE][CODE]$result=city::getDisplayName('$id'); echo $result;[/CODE][/QUOTE] | |
how to create a stat counter for the hits,output it everyday | |
I'm just looking to set up a simple registration form for my website, and was wondering if anyone could recommend a fairly straightforward tutorial... Thanks | |
Hey, i need a help from u... when ever one of my users registered into my website,,,,then automaticaly conformation mail send to users email... plz send me asap....its urgent... | |
i want coding for upload function...actually, i want to make upload function in my system....who can help me.....plzzz anyone give me the code for upload file into system...thanks | |
Hey Guys, I was hoping someone could tell me how to run server side code to process a file? Basically, I want users to upload a file to my site, and once the file is uploaded, I want server side code (I'm thinking PHP) to process the file. Also, I … | |
Can anyone tell me why this code isnt working? [CODE=php]<?php $username = $password = $database = $email23 = $_POST['email']; $con = mysql_connect('localhost',$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $sql = "SELECT * FROM `user_user` WHERE `email` = '$email23'"; $query = mysql_query($sql) or die('Error: ' . mysql_error()); $r = mysql_fetch_row($query); … | |
Hi, I get this error on red coloured line. "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\.....". I use PHP 5.25, MySQL 5.51. [code] $sql="SELECT * FROM customer"; $run = mysql_query($sql); [COLOR="Red"] if (mysql_num_rows($run) > 0) {[/COLOR] .... } [/code] When there is record it … | |
I am building a website for a recording studio - initially I anticipated having to embed some audio in the page that would stay playing through the whole site, I built an index/home page and used one of these deals: [code] <?php switch ($_GET["id"]) { case home: $id = "home"; … | |
Hi there all! I do not have a great knowledge of php but I do know basic html. I have a javascript popunder script that I would like to try on my site that runs on a php script. I know how to insert this script into an html page … | |
I had installed php 5... and then I installed the IIS on windows XP and it works well with ASP, BUT not for PHP, see BELOW: Now when I drop a php file in C:\Inetpub\wwwroot and open in browser nothing happens just a blank page, it seems the php is … | |
Hi, I am a new bee in PHP , I have a asignment to write a online polling script. Can u please help me get the script to refer and write a fresh code as per my requirement | |
Me and my team are using yellow duck framework to build a dynamic site with a backend database. Does anyone know of any tool to help speed up the process of validating the html page that the php spits out? Locating these errors is time consuming and we have been … | |
Hi! Im creating a search engine for products. it can search by category, model_no and so on.. when i searched for multimedia, it would return lists of products under multimedia. every result should be clickable and would display info for each product. problem is, how can i pass the value … | |
Hi, here is the code for page navigation, its working fine but , if there are 4 pages , each page is displaying 3 records per page, if we go to 3rd page, and click on the subject it will display the contents but it will automatically come to the … | |
Hi all, I have a registration form on my website which once filled in, it sends an email to the user with a link to "verify their email address". This link holds all of the information entered by the user in the form and looks something like this: [url]http://www.example.com/confirm.php?firstname=john&lastname=smith[/url] When … | |
| |
Hi to everyone, Please i would be grateful if you help me with this. This is a tutorial i am practising .When i create a session variable on a page , I find it difficult to show it on another page. Please check also to see whether the scripts are … | |
Well my site is a music lyrics site, and included an option to embed youtube videos with each lyric added. It came with one lyrics, which you can see here. On the left of this page, the youtube video fits in a box. [url]http://music-and-lyrics.info/index.php?lyric_id=1[/url] Now I added a new lyric … | |
I want to store a function in a MySQL Database. Like this: [code=php] <?php $query = "SELECT * FROM items WHERE item_id='$_GET['item_id']'"; $item = mysql_fetch_assoc(mysql_query($query)); $action = $item['action']; $action; ?> [/code] So in the database, $item['action'] is header('Location:blah.html'); But it could be ANY function, see. I just want to know … | |
I've run the install for PHP 5.2.6 and been able to have PHP pages run successfully. My research has told me that PHP no longer includes the dll needed to connect to mySQL. I've run into a couple of problems on my system. [LIST=1] [*]Using phpinfo(), I can identify the … | |
I just moved hosting providers for my website and there is one page that is not working properly. The old provider had MySQL Server 5.0.51a and PHP 5 so I setup the new server with MySQL Server 5.0.51a-Community and PHP 5. After the site move, I get the following error: … | |
As far as I know, I have successfully completed all config files so the site should load, but for some reason, the site doesn't. Here is the error message I get instead. [CODE]array(3) { [0]=> array(4) { ["file"]=> string(74) "/home/imedia/public_html/music-and-lyrics.info/functions/main.function.php" ["line"]=> int(10) ["function"]=> string(10) "mysqlQuery" ["args"]=> array(1) { [0]=> &string(20) … | |
Hi, I've got a small problem here in replacing html for bb. I can go bb to html really easily (see the code below), but when I go the other way, I get the same text returned as when I put it in [code] if ($tobb == 0) { $search … | |
hellow guys.. i have been onto one site which is embedding videos from zshare.net servers the problem with zshare embedding is that it the file path keep on changing each time you visit the link an example is Code: [url]http://www.zshare.net/video/39062271789b05[/url] this link.. when u goto this link.. and check the … |
The End.