38,019 Topics

Member Avatar for
Member Avatar for ivanCeras
Member Avatar for Ladymercury

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 …

Member Avatar for Puckdropper
0
115
Member Avatar for Wrox

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 …

Member Avatar for Puckdropper
0
133
Member Avatar for aparnesh

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 …

Member Avatar for Astegiano
0
286
Member Avatar for Joncamp

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:

Member Avatar for shaocpa
0
149
Member Avatar for ashneet

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.

Member Avatar for ashneet
0
208
Member Avatar for StrikeFreedom

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 …

Member Avatar for StrikeFreedom
0
102
Member Avatar for KunalPradhan

Dear All, Will any one be able to help me w.r.t AS400 query :?: The application used is Vision Plus

0
81
Member Avatar for Puckdropper

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 …

Member Avatar for papa_fal
0
5K
Member Avatar for ashneet

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 …

Member Avatar for Puckdropper
0
145
Member Avatar for manish812

[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 …

Member Avatar for cancer10
0
238
Member Avatar for Ries

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(); …

Member Avatar for cancer10
0
144
Member Avatar for j4mes_bond25

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 …

Member Avatar for j4mes_bond25
0
353
Member Avatar for vjw757

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 …

Member Avatar for Puckdropper
0
156
Member Avatar for ractufat99

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

0
86
Member Avatar for quansah

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: …

Member Avatar for JNathanson
0
1K
Member Avatar for iamthwee

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.

Member Avatar for Dani
0
86
Member Avatar for Yuki H.

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 …

0
65
Member Avatar for serhat_kk

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 …

0
96
Member Avatar for ayajhane_dhagz

s there a function in php w/c determines how many dimensions an array contain? f so,may i know?..^_^ thnx...

Member Avatar for ayajhane_dhagz
0
168
Member Avatar for aarya

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. …

Member Avatar for alpha2006
0
77
Member Avatar for kirawr

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 …

0
79
Member Avatar for cancer10

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.

Member Avatar for digital-ether
0
203
Member Avatar for j4mes_bond25

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 …

Member Avatar for digital-ether
0
113
Member Avatar for Cas107

[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] <? …

Member Avatar for Cas107
0
384
Member Avatar for Zayed

<?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 …

Member Avatar for maiahost
0
105
Member Avatar for Specdro

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 …

Member Avatar for Dani
0
338
Member Avatar for Heartyn

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 …

Member Avatar for TopDogger
0
73
Member Avatar for sirfartalot

Hi, I hope you will bear with me as I am trying to create my first PHP page and I'm not having a lot of success. I am trying to create a fairly standard form mail page to send email from a webpage. I have probably downloaded up to around …

Member Avatar for sirfartalot
0
139
Member Avatar for puddin

I AM POSTING A SECOND TIME ON THIS. I NEED SOMEONE TO HELP!!! TO TELL ME WHERE MY MISTAKE IS: THE JPEG PHOTOS DO NOT DISPLAY CLEARLY AT ALL.... CAN YOU HELP PLEASE!!! Thank-you Kindly, Puddin ____________________ This Is My User Form Is The Error Here? ____________________ <?php include 'db.php'; …

Member Avatar for puddin
0
163

The End.