39,402 Topics
![]() | |
I have a form and have two input listbox . When i select the list valuse left list box and then perss the button selected values are move in the right list box and then perss the Update button right list box values are storted in the database If any … | |
I have successfuly installed Apache 2.0.52 on my Windows XP system. I have also tried to install PHP 5.0.3. I have placed the Php.ini file in C:/windows and the php5ts.dll file to C:/windows/system32. I have also added these lines to the httpd.conf file LoadModule php5_module c:/php5/php5apache2.dll AddType application/x-httpd-php .php .phtml … | |
Hi, Um new to php... kindly help me on the following... <?php $action = $_SERVER; ?> <?php //if(!$_POST=='result') //{echo "<p style=' font-family: arial; color: blue; font-size: 14px;'>You are not authorized!</p>"; return false;} //$choice=$_POST; $name=$_POST; $link=mysql_connect("localhost", "root", "") or die("<p class='texxt'>Can't connect to server: ".mysql_error()); mysql_select_db("test",$link); $query="SELECT * FROM saudi_journal WHERE … | |
I am having trouble setting up PHP with my apache server on my windows machine. It gives me an error when I test the configuration saying that "Cannot load C:/php5/php5apache2.dll into server: The specified module cannot be found". I added (to the httpd file in the conf folder): [code]LoadModule php5_module … | |
I am writing a program about shopping center Please give me some advice! | |
i've put in this thres before and didnt get much hlp. i wanna enable users of the site to upload a picture into a file (like in hi5 or yahoo messenger) and have it displayed as a thumbnail which would have a link to the original sized picture. | |
Hello Pro Programmers! Can you help me, Please!!! What I want to do is let my users message each other, I have my form and message page setup I love it! It’s working the messages are going in the right ID’S in the Mysql database, BUT! It is overwriting as … | |
Right now In my country database county code vlaues are stored in 3 digits. So we need to convert the country code three digite to two digit Please write a php function in an independent php file that will contain an array that will map the current 3 letter country … | |
I am the webmaster for a high school website, [URL="http://www.centennialonline.org"]www.centennialonline.org[/URL], which as you can tell, is in sore need of major updating. I need to make it friendly to several users who can update their own pieces of the site. For example, the principal needs to be able to update … | |
Dears, How do I set automatic emailing from my site. I have to get a report from my web site which is to be automatically mailed to my inbox from my website. I have written the reports in PHP and MySQL. My webserver is in Linux. Is there any function … | |
can u kindly check what am i doing wrong? i tried using oci8 and the image is displayed but when i use adodb, my browser(firefox) says "problem loading..." can you give me some example of your code? thanks! [B]OCI8[/B] [I]<?php header("content-type: image/JPEG"); $getId = $_GET['id']; $User = "scott"; $Password = … | |
I had a website on a server. I have now moved it to my PC using Wamp5 installation. However pages using input boxes are not working. Instead of a blank input box, the php code is visible!! I know php is available on the page as calling phpinfo() loads it … | |
im trying to creat an email form with php here is wat I have and it isnt working [PHP]<?xml version="1.0" encoding="iso-8859-1"?> <!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> <title>Jacob Sherman</title> <link rel="stylesheet" href="content.css" type="text/css" /> </head> <body> <form action="" method="post" enctype="text/plain"> <table border="0" cellspacing="0" cellpadding="4" width="90%"> … | |
Is there a mod, that allows you to show recent posts on a non vbulletin page? | |
Hello everyone. I need to put a drop dropdown menu on items(such as a category)that is pulled from a database. I have used php+ mysql to pull the data. Can anyone tell me if I can include javascript so that when the mouse is over tha item and/or category, a … | |
can javascript merge with php?...if so,how can we implement it... i had a hard time searching on that problem.... i made experiments but it doesn't work...hehe;) | |
I have a site with Mambo software. I didn't do anything to my knowledge, but since yesterday there has been a Page Not Found 404 Error coming up instead of my administrator page. What does that mean? How do I go about fixing it. The site is hosted by Webdockers. … | |
Hello everyone, I wonder if PHP can access MS database. If so, can anyone share some lights on how to work on it? What configuration i need to do inorder to do it. Thanks in advance. Many thanks, VG | |
Hello everyone! I've been having issues with a script me and a co-worker created for a system that I'm developing so that people can register and manage their shifts for a convention: [php]<?php // starts a session, this must be before ANY output is sent to the browser, including whitespace … | |
Hi All, Am fairly new to PHP but managed to successfully complete a form and all works well! However, using similar code on another site the form goes through to a dynamic page and sends email back all correctly and has the titles of the textfields ready to have the … | |
Hi everybody, I'm in need for the completly list of e-mail adresses on a phpBB-board. I've looked around for help on this on Google, but I can't manage to find any answers.. Is there any easy way to do this, or is hacking the final solution? ( if anybody have … | |
How can I redirect a page to another ? For example, if the user is registered he gets to see the members section and if he is not, he is redirected to a 'Register Now' page when he clicks on a members area link. Also how will it work if … | |
Hi All. I have two different server. One server is windows and another is Linux. I need to publish the files on Linux server through ASP. But in asp i am not found any library or any service for do this work. So have u any guys have any IDEA, … | |
I don't know how to configure my sendmail8 system, is sendmail a mail server? Why don't PHP send mail() through the sendmail8 system? Thanks:mrgreen: | |
I am trying to get URL from address bar and store it in a variable. Anyone know how it may be done as i was looking on php.net and couldn't find any function that grab URL form the address bar. | |
I'm trying to use the following script to test password strength: [PHP]<? switch($_REQUEST['req']){ case "change_password": function CheckPasswordStrength($password) { $strength = 0; $patterns = array('#[a-z]#','#[A-Z]#','#[0-9]#','/[¬!"£$%^&*()`{}\[\]:@~;'#<>?,.\/\\-=_+\|]/'); foreach($patterns as $pattern) { if(preg_match($pattern,$password,$matches)) { $strength++; } } return $strength; // 1 - weak // 2 - not weak // 3 - acceptable // 4 … | |
Dear All, Will any one be able to help me w.r.t AS400 query :?: The application used is Vision Plus | |
Hello, I installed PHP 5 on my Server 2003 machine with IIS and got that working properly. I want to connect to my school's MS-SQL student database, but PHP balks when it hits "mssql_connect" (or whatever the statement is). How can I set this up so I can actually connect … | |
I think is problem may be more connected to HTML rather then php. The issue I have is that I have a my sql db and in one of the colume in which there is a string like: [code]Testing 1 2 3[/code] but when I extract the variable all I … | |
[B]Warning[/B]: session_start(): Cannot send session cookie - headers already sent by i want to use session in my prog and this error comes every times due 2 which i cann't use session which is vry important for me. but whn i run the same prog in my computer i.e. localhost … | |
This is my code im using for my login, but when it re-directs to the next page the $_SESSION['email'] array doesnt contain any data, what is wrong with my coding that causes this(btw to check it had no data I echoed it and nothing came onto my screen) [code]<?PHP session_start(); … | |
I've been trying to display a simple & short message in viewer's own language for which I'm using the following script, right at the top of their screen i.e. just above the banner (in my website on: members.lycos.co.uk/darsh25/ .................. select "contact.php" Although, in my browser, this script identifies that my … | |
ok im installing a script at [URL="http://magicalstart.com"]http://magicalstart.com[/URL] and everything looks like is up and running. but when i try to access the admin panal at [URL="http://magicalstart.com/admin/index.php"]http://magicalstart.com/admin/index.php[/URL] .... the only think that happens is the screen goes blank. .. i was getting sql errors but that was because i had the … | |
Hi, Is there someone how use [B]osDate[/B]? It's a open-source dating system written using PHP/MySQL. I found it for free on [url]http://www.tufat.com/s_free_dating_system.htm[/url] Thanks | |
i have a form with checkboxes and i was wondering how i could write the php code so that the choices you check can come into my email. here is the html coding for the form: [code]<form action="<?php echo $me;?>" method="post" name="form1" id="form1"> <p>Name : <input type="text" name="textfield"> </p> <p>Course: … | |
![]() | hi everyone, I just skipped down to the shops and got myself a php/mysql/apache book. Never done php before or databasing so I'm eager to learn. Hope to be asking some questions here soon when I get sum time he he. |
I made this php mailform months ago, and I haven't done php in a while, so I need help with it. Though a person might not have a valid email or typed in their name and/or comments it still submits, how can I fix this problem? [PHP]<? include('header.txt'); ?> <table … | |
Hi; I have a online nba live (basketball game) site, i want to add following option. When user upload *.txt file to my site (you will see at the picture) [url]http://img128.imageshack.us/my.php?image=nbalivetxt9gx.jpg[/url] i Want to get average and total stats. For Example; Total Points ,Points Per Game ,etc... How do i … | |
s there a function in php w/c determines how many dimensions an array contain? f so,may i know?..^_^ thnx... | |
hi i want to sell some template which is stored in zip file. when customer choose the template he will connect to paypall shopping cart. when he pays i should get invoice form paypal as payment is sucessfull . if it is so he can download the file after payment. … | |
hellooo. i've been working with this form lately, and i cant seem to figure out how to make the success/error pages redirect to another page. any tips? [PHP]/////////////////////////////////////////////////////////////////////// //Don't edit below this point if you aren't sure what you're doing! // /////////////////////////////////////////////////////////////////////// $good = "Thanks for emailing me!"; //above is … | |
Hello, Is there any way I can prevent simultaneously multiple downloads from my site with PHP? I mean I want a user can download only 1 file at a time, the second file can be downloaded only after the first one is finished. Thanx in advance for the help. | |
One of the page from my presently under-contruction website can be seen on [url]http://members.lycos.co.uk/darsh25/Personal%20Website/services.php[/url] As it can be seen from the HEADER (right at the top) that I've the text-size selector (which isn't working, at the moment) along with the present date (as set in user's own computer). Realising that … | |
[B]Hi[/B] [B]I am getting this error on our website that was created by somebody else.[/B] [B]Parse error[/B]: parse error, unexpected T_STRING in [B]/var/www-virtual/www.fpis.co.nz/pages/fpis_contact.php[/B] on line [B]5[/B] [B]This is the complete code that was created and I am trying to fix it and don't have a clue what is wrong[/B] <? … | |
<?php $SearchNo = $_POST["SearchNo"]; $host= 'localhost'; $user= 'zutransportation'; $passwd= 'password'; $database= 'dbtransport'; $table= 'STUDENT'; $table2='BUS'; $connect= mysql_connect($host, $user, $passwd); mysql_select_db($database); $squery = "select * from $table where IDNo like '".$SearchNo."'"; $run= mysql_query($squery); $num_results = mysql_num_rows($run); if (!$SearchType ) {//1 echo "You have not selected search details. Please go back and … | |
I have been tring for a month now to figure out why I can't program my site to open field information from a link that looks like [url]http://www.blablabla.com/test.php3?ID=2[/url] I can't seem to figure out how to open just the field thats ID is = to 2. If anyone can help … | |
All, Here is some JavaScript I found. It creates a small scrollbar, which allows a user to scroll though a series of 5 images. The images represent votes, and the user can then press a "Rate us" button in order to cast a vote. As you can see in the … | |
Hi friends, I need ur help,I have stored the data in the mysql . eg :<td colspan=2>XXXXX<td>YYYY</td>............ I get the specific record and stored it in the variable using the PHP coding. Now my need is how to extract the <td colspan=2> from the string seperately. I tried the substr,explode … | |
I currently use Zend Studio for Windows while I use XCode on my mac to do my php developing. However, it would be awesome if I could get Zend Studio's autocomplete and autosuggest featurs in XCode. Is there perhaps a PHP plugin for XCode that would let me do this? … |
The End.