39,316 Topics
| |
hello.... i am searching google images from my website. when ever i searched with keyword i am getting 500 internal server error. how to solve this problem? even i informed to webmaster, he said it is the programmer issue. we can't do anything for this. i searched a lot for … | |
could you help me guys to translate this code from PHP MySQL to PHP ODBC. i'm having a hard time to run this page using the PHP ODBC which uses MSSQL connection. any help would be very much appreciated.. thanks in advance ^^ [CODE] <?php $return_arr = array(); $sql = … | |
Hi to all, Can anyone show me a sample php code on how to get the client's Mother Board Serial Number? Thanks. | |
i have a question that can we make a dynamic title using php??? is it possible? i mean the header | |
%01 Error: Method Not Implemented GET to "..." not supported. I use this code to create a Cookie containing the Users Username: [CODE]$value =$_POST[user]; setcookie("Login_Name", $value, time()+3600);[/CODE] Then I get the above error on all pages of my site, untill the cookie expires in 30 mins. A quick scan on … | |
The situation is this, I go on eBay do a search, look at the source code, copy the area that I want to parse, paste it in my script, run the script and get what I want from it. So basically in my script I have a variable like this … | |
Hi.. I have an issue on my project.I want to open a particular page of a PDF by clicking a hyper link.How should I do it?any idea ? | |
Hello folks, In short, this code is vulnerable: [CODE] <div class="search"> <form action="/search" method="get" name="header_search"> <label>{l t='Search Business'} <input name="searchtext" type="text" id="searchtext" placeholder="{l t='e.g.Marriott'}" /></label> <label>{l t='City'} <input name="cityname" type="text" id="Hsearchcity" autocomplete="off" placeholder="{l t='All Cities'}" class="commentColor cityname"/> </label> <a onclick="header_search.submit()" href="javascript:void(0)">{l t='Search'}</a> </form> </div>[/CODE] I have been trying to implement … | |
Hi, On login page load, (even before submitting user name and pass) Debugger finds "permission denied error". U can see it here: [B][URL="http://goldpharm.co.il/authentication.php"]goldpharm.co.il/authentication.php[/URL] [/B] Now, when a user submit's user name and pass, nothing happens, he stays on the login page. Could it be a problem in authentication.php file? and … | |
Hi All, I want to integrate a What you see is what you get editor for my website. I understand that the editor can be the one as I can see I am typing in. How do I store data in database so that when I retreive the data from … | |
hi guys, i have confusion about comparing dates in php. i want to compare birth date with current date. here is my code. i hope u will me to solved out this problem. thanks [CODE] <?php //code for get values from session session_start(); if(isset($_SESSION['I'])){ //this code will get email id … | |
I'm wondering if it is possible to skip certain fields in the mysql table in a sql statement. Here is what I mean: I have a table that has the following columns: firstname lastname phone dob Suppose I write the following statement: $[CODE]mysql_query=("insert db_table (firstname, lastname, phone) VALUES ('$firstname' ,'$lastname', … | |
Hi, I am trying to use AJAX to do a simple thing of displaying the results in the same page. Clicking on the <a href tag should display the results in the same page. This is working correctly in IE but the onclick() function is not working in firefox and … | |
[CODE]$qID = ''; $question = 'Question not set'; $answerA = 'unchecked'; $answerB = 'unchecked'; $answerC = 'unchecked'; $answerD = 'unchecked'; $answerE = 'unchecked'; ?> <html> <head> <script type="text/javascript"> function show_alert() { alert("Please Click OK to proceed!"); } </script> </head> <form action="Process1.php" method="POST"> <table> <tr> <td> <?php $SQL = "SELECT stu_satisfaction_tblquestions.question_id, … | |
hello guys, i had a problem with the automatic email sending using php.. the error states: [CODE] Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\edith\email\index.php on line 36 [/CODE] *******index.php *******this is my code [CODE] $to = "juan@yahoo.com"; $subject = "Email testing"; $message … | |
Hi, I'm getting the error Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in C:\wamp\www\******\include\Database.php on line 294 when I try to run this [CODE]function calcNumActiveUsers() { $query = "SELECT * FROM ".TBL_ACTIVE_USERS; $result = $this->query($query); //just uses mysql_query var_dump($result); $this->num_active_users = mysql_numrows($result); }[/CODE] As far as I … | |
could you give me a very simple example of autocomplete in php? this should have a connection to the database.. having the keydown() function and highlights the letters which are similar to the one being typed. best regards and thanks in advance..^^ | |
Hi. I was wondering, is there any way for php to automatically check if links are valid. For example, lets say I have 10 links and I want a cronjob to check if they are valid or not, and if they are invalid I would throw a query statement to … | |
Hi, i found this image uploader in another post but i'm having a few problems with errors or upload confirmation not displaying at all and was wondering if someone could take a look. [URL="http://www.daniweb.com/forums/thread144647.html"]original thread,[/URL]the file is a zip near the bottom of the page It seems the database code … | |
Below is my file read. I am trying to output it in a table form and also i am trying to read any length of tilde document. [CODE]<!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <?php $namefile = 'pilots.txt'; … | |
I am in the hard task of rewriting a template system, specificly to support repeating content of a forum script. I am currently tyring this with a dummy file at the moment and I am stuck on one part. What is basically does, is load the following html which has … | |
hi, this is probably easy so hope someone can help asap. i have an existing bit of code here: [CODE] <img src="images/<?php echo (($row_rsTimelineActive['ReservationFormSentToPP']==0)?'no.gif':'yes.gif'); ?>" > [/CODE] instead of it being ==0 i want to be able to display no.gif if ReservationFormSentToPP is null and yes.gif if not null. hope … | |
hi does anybody know a good script that i can use to make client on different level like an mlm script but not to sell anything but to manage those people .example if you are a client you can log on to the site and see how many people you … | |
Hi all, So I have a .jpg file hosted and I wanna see if someone views the image, from where its viewed. Meaning I wanna see the referrer and log the referrers in I file. How can I do that? Thanks in advance. | |
I thought I would share with you all a tutorial I just posted on creating a Facebook app using the Facebook Graph API and their PHP SDK. It's a very easy to follow tutorial and by the end you'll have your own app reading and writing posts to your wall … | |
I have a code that needs to read in a file and has a parameter file. I need to know how to put in <=,<,=,>=,> operators that will be in my parameter file. I beleive that it needs to go in this line: $search=explode(':',strtoupper($params[0])); but not sure if it will … | |
I use Firefox and it has never given me a problem when logging in but with Internet Explorer and Chrome, there seems to be a problem.. It as if it refreshes the page without doing the method of posting the form. I would really like some help as to where … | |
Hi... Is it possible to search a string on a PDF file? I want to search and highlight a string on a PDF file . If any idea please help me..... Thanks for advance | |
hi i have small problem would u mind to help me? i want get full path of file in my hard? but the wamp server give me results as fallow : c:\\fake path\..... pr gives me only the file name only for example if i want to get file in … | |
Hello world, I have a problem with sending email in PHP. I was sending many times with the same code, but now it doesn’t work and don’t know why. I’ve contacted with domain helpdesk, but they said that there are all OK and PHP server works properly. Please someone could … |
The End.