38,020 Topics

Member Avatar for
Member Avatar for tanha

Hello everybody, I use the WAMP5 tools which has the following features: i) Apache 2.2.4 (SERVER) ii) PHP 5.2.3 + PECL iii) SQLitemanager iv) MySQL 5.0.41 v) Phpmyadmin Suppose I have four date fields, and I have a button next to each of them, I like when I click on …

Member Avatar for MitkOK
0
66
Member Avatar for Barefootsanders

Hey everyone, I'm trying to populate an array with file information from certain directories. Currently I have an array with all the file names in it. I was wondering if anyone knew a way to get the embedded information within a file. For example, an audio file( mp3 for example) …

Member Avatar for digital-ether
0
73
Member Avatar for shank
Member Avatar for jocrenalix
0
81
Member Avatar for hbmarar

Hi, Wishes. I would like to invite peers here to give me some pointers , tips and hints on "how to" on the following doubt of mine:: Scene 1. I got 4 records listed. I check ALL and click for action. first 3 records got acted upon by a algorithm …

Member Avatar for pritaeas
0
70
Member Avatar for Barefootsanders

Hey everyone, I'm attempting to set up my own web server with apache2 and php5. I set up apache fine and it works. My problem is that when i install php5 my apache wont start. I just get an error message saying "The requested operation has failed." I attached both …

Member Avatar for Barefootsanders
0
77
Member Avatar for Pro2000

I wrote a chat program and I wrote in a page: [CODE] $ip=getenv("REMOTE_ADDR"); if ($ip=="82.23.45.66) { echo 'You cannot login!'; } [/CODE] But some times I see there are 3 computers and much logging by the same IP Address, How can I slove it?

Member Avatar for Pro2000
0
79
Member Avatar for dr4g

Hey, just made the title like that, to grab intrest ;) I'm developing a system at the moment, i'm going to implement a filter to the login section, so that only 5 invalid login attempts can be made, then its temp denied access to login with that username, for 15 …

Member Avatar for digital-ether
0
518
Member Avatar for engrr.faruk

hi, can any one tell me how to traslate date in english format to date in hijri format? Regards, faruk hossain chowdhury

Member Avatar for MitkOK
0
174
Member Avatar for sheejaanna
Member Avatar for wireshop

I've got this script to validate phone numbers. I want to allow numbers 0-9 and the characters -,(,) and + the following seems to only work if the input is all numbers and spaces. Suggestions? [code] if(!ereg("^[0-9\-\(\)\ \+]+$", $phoneNumber)||empty($phoneNumber)){ print'Please enter a valid phone number' ; $error++; } [/code]

Member Avatar for clearstatcache
0
145
Member Avatar for assgar

Hi How can I add 15 minutes to the previous event time (timestamp) to get the next event time. Note: This event time is not in a table. Straight forward adding the two values will probly not provide the correct result. I can get the correct time with Mysql addtime($time, …

Member Avatar for assgar
0
163
Member Avatar for Firestone

I'm trying to email to an array of subscribers to a weekly newsletter. Whenever I try though, I get an error "Bad parameters to function mail()". Heres the loop I'm using to mail: [code=php] $x = 0; $y = 1; while ($x <= $y) { mail($names[$x], "Hey", "Whats up?"); $x++; …

Member Avatar for jamshid
0
82
Member Avatar for tygerberg

Hi Is it possible to use php to display different text each day for my website.

Member Avatar for tygerberg
0
111
Member Avatar for marjan_m

Hi, I want to develop a photo Gallery so kindly guide me abt it.Is it shld be implemeted on a "dynamic PHP page" option frm the dreamweaver? Waiting for the urgent reply, Regards,

Member Avatar for jamshid
0
99
Member Avatar for noman

Hi, i am a new comer in PHP and i have to upload a file in my php web form. I have read some tutorials in which they mentioned that when we go to upload a file in php it saves by default in a temporary directory and after that …

Member Avatar for cereal
0
150
Member Avatar for ezb

Basicly, I planned on doing a "next/previous" button on my website, but they wont work, I think the problem lies in the server being in safe mode, I was hoping someone could show me how to get around it (keeping safe mode on) cheers heres my code [CODE] if(!isset($_GET['start'])) $start …

Member Avatar for ezb
0
94
Member Avatar for JadeaDragon

So, this is a "next step" for me learning how to pass multiple variables from a form to a database and publish the results. I feel that I'm *holds fingers in air* [I]this[/I] close, but the actual solution is alluding me. Goal: To have user select from dropdown list of …

Member Avatar for JadeaDragon
0
134
Member Avatar for hydn

See attached image below . Any ideas? The rest of the output is: [quote]Array ( [attach/attach.gif] => Array ( [0] => 16 [1] => 16 ) [bmp.gif] => Array ( [0] => 16 [1] => 16 ) [doc.gif] => Array ( [0] => 16 [1] => 16 ) [gif.gif] => …

Member Avatar for hydn
0
84
Member Avatar for Eko

I have a list of users(signed for a newsletter).I'm retrieving the list from a database when the admin clicks on a button. [B]There are maximum 10 users diplayed per page[/B].For example,if I had 30 users in the database,I would have 3 pages of users(Page 1,2,3); [B]For each listed user ,I …

0
63
Member Avatar for sfd

Hello! I need some quick help please :-) I have a php form that when a user submits sends an email with there details to us, but then also sends an email to the user, saying thank you for your email etc... I have configured the form and the email …

Member Avatar for sfd
0
64
Member Avatar for ashneet

Hi I made a function which is suppose to send email, only problem is that I can send the email but its blank so can anyone tell me what I am going wrong. [code] //Function that send multipart emails function email2($TO, $PREMADE, $FROM = false) { //headers for emails //create …

Member Avatar for cereal
0
177
Member Avatar for vjw757

Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/xxxxxx/public_html/index.php on line 1 Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/xxxxxx/public_html/index.php on line 1 Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/xxxxxx/public_html/index.php on line 1 Parse error: syntax error, unexpected T_CHARACTER, expecting T_STRING or T_VARIABLE or …

Member Avatar for digital-ether
0
763
Member Avatar for MitkOK

Hi. I'm learning now CakePHP and I'm writing basic login script. So when I log ( validate username and password ) I want to print a message and after 5 seconds to redirect to index. I use $this->flash('Login successfull', '/users/index', 5); but won't work ;( Ideas ? Thanks in advance. …

0
62
Member Avatar for Dsiembab

Good evening, I was wondering if anyone knows of any resources that explain the Curl lib function in php. I know that the php manual has the functions associate with the curl lib but they do not have any examples with FOLLOW_LOCATION and other parameters. If anyone knows of any …

Member Avatar for cereal
0
81
Member Avatar for vjw757

i have a site [URL="http://upithere.com"]http://upithere.com[/URL] . When you go to the site you see how the last 4 uploaded images are displayed? now if you go back up click on Hosted Images. now theres a lot of links to uploaded images. what i want todo is when you click on …

Member Avatar for digital-ether
0
62
Member Avatar for Persist01

I'm looking for a php/mysql search tool but not a search engine tool. I'm trying to find something that allows you to enter a list of different characters. Then when any of those characters get entered into a textarea within a form and submitted by the user, the tool detects …

Member Avatar for digital-ether
0
85
Member Avatar for m-soft

Hello, I try to read a xml file with this schema: - <item> <title>some text</title> <link>link</link> - <description> text ok <br /> I can't see this text </description> <imedia:thumbURL>link</imedia:thumbURL> </item> When I write: echo $rss_channel["ITEMS"][$i]["DESCRIPTION"]; I can see text ok, but from <br /> I can't see nothing. I tried …

Member Avatar for digital-ether
0
159
Member Avatar for compengr

Hi All, If this isn't the right place please direct me to the right place. If however you can assist me with an answer please do. I'm looking to setting up a website 1. where people can type in various queries on stocks (prices, comparisons, traded volumes, annual reports, market …

Member Avatar for digital-ether
0
89
Member Avatar for piers

hi I am new to this forum and new to using php. Everyone says it is really easy and so far so good until I was trying to display pictures based on the selected option from a drop down menu. so I have 3 options: dromidary bactrian mollie I have …

Member Avatar for piers
0
137
Member Avatar for venu@baylogic

Hai friends, Please help me that how can i solve this problem, how can i include AJAX in PHP,Can u tell me that how can i configure system for AJAX.

Member Avatar for phper
0
157

The End.