39,402 Topics

Member Avatar for
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
77
Member Avatar for shank
Member Avatar for jocrenalix
0
86
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
73
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
84
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
82
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
522
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
177
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
148
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
165
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
86
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
114
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
102
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
151
Member Avatar for jabbarmk

Anybody Pls send me the codes(working file) to send email from flash. Using php or asp! [email]jabbarmk@gmail.com[/email]

Member Avatar for macneato
0
142
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
98
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
148
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
86
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
65
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
67
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
183
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
775
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
64
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
84
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
65
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
87
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
174
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
91
Member Avatar for Anna ms

I have a page with many links on it but all the links are saved into my ,mysql database.These links are displayed on my site.I wanted to know if google robots sees those links there.if the admin of this forum will allow me to post my links page so that …

Member Avatar for shabi1985
0
71
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
142
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
161
Member Avatar for NetFamous

Hi, I have a search engine over at zoodlez [dot] net, the script that runs it is fairly simple and pull results from altavista, msn, and yahoo.. Anyway.. I have been looking for a way to implement a related search feature into this thing.. For example, if someone searched for …

Member Avatar for cereal
0
145
Member Avatar for EnderX

I'm working on a php-built report that's supposed to be printed out. It may be used on IE, it may be used on Firefox, I'm not sure which and have no control over the issue. Differences in the output formatting of the two browsers mean I have to be able …

Member Avatar for cereal
0
114
Member Avatar for Dsiembab
Member Avatar for Ezzaral
0
170
Member Avatar for wireshop

I'm having a trouble getting my php script to validate user input what am I doing wrong here? This just displays the error message all the time. for example: [code] if(!preg_match("/[^a-zA-Z0-9\.\-\Ä\ä\Ö\ö\Ü\ü\ ]+$/",$name)||empty($name)) { print '<td colspan="2" class="ErrorText"><div align="right">Please enter a valid name without special characters i.e. *,/,&lt; etc. </div></td>'; $error++; …

Member Avatar for cereal
0
113
Member Avatar for Staplerkid

Hey there! So basically, as you could probably have figured out from my title, I am looking for some information in regard to the PHP function, Rand(). I'm looking for as much information into exactly how it works, and the accuracy and predictability of the pseudo-randomness. I am working with …

Member Avatar for cereal
0
125
Member Avatar for vjw757

i have a site [url]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 …

0
60
Member Avatar for marjan_m

I want tht whn a user is logeed in,the user can see a page.hw it can be done in php..as: [CODE] if($valid_user==1) echo "You are logged in"; else echo "Enter again"; [/CODE] In ths code I want tht whn the valid_user has value 1 the control shld be directed to …

Member Avatar for chewan
0
136
Member Avatar for jd2008

i want to take this: Label: Supreme Records Catalog#: S 512 Format: Vinyl, 7" Country: Belgium Released: 1972 Genre: Rock Style: Pop Rock Credits: Producer - Gus Dudgeon Notes: Rating: No votes yet. Rate It Submitted by: Evilist from the site : [url]http://www.discogs.com/release/479714[/url] pls show me how to code it

Member Avatar for Eko
0
123
Member Avatar for Cerberus

Hi, can anyone point me in the right direction with incorporating rss feeds into web sites? Thanks.

Member Avatar for m-soft
0
92
Member Avatar for marjan_m

Is there any problem wid ths code? [CODE] $name=$_POST['txtusername']; $password=$_POST['txtpw']; $result = mysql_query("SELECT username,pw FROM login"); while($row = mysql_fetch_array($result)) { if($name=$row['username'] && $password=$row['pw']) $valid_user = 1; else $valid_user = 0; } if($valid_user=1) echo "You are logged in"; else echo "Enter again"; [/CODE]

Member Avatar for iamthwee
0
93
Member Avatar for assgar

Hi I am having a problem with the height of my dynamically create rows. The data is retrived properly form the database, the issue is displaying the rows. When there are alot of results to dusplay the rows are displayed correctly. If there are a few rows the hight can …

Member Avatar for assgar
0
199
Member Avatar for engrr.faruk

Hi, can anyone tell me how to use subform i.e form within anther form in same IE in php? is it possible? Regards, Faruk Chowdhury.

Member Avatar for sun_sun_th5
0
46
Member Avatar for jonathan.jbkt

I have a client that is hosting his site on my Ubuntu Linux Server. He has some files that he generates from Microsoft Excel as .htm files. I have set Apache to parse .htm files with the PHP engine but we still have a problem with the way the content …

Member Avatar for jonathan.jbkt
0
238
Member Avatar for it2051229

I was just wondering if there is a PHP function that could detect if there are spaces in between characters or a word or whatever as long as it is a space..

Member Avatar for it2051229
0
254
Member Avatar for Nabi Bux

I m new in this forum please can any body tell me where i find the help of cakeph is there any book of cake php

Member Avatar for ses5909
0
66
Member Avatar for sciulli

Totally lost here. The output of one record in the array is posted below. I would like to get the sum of all the records in field [5] of the [Transporter Log]. I have tried various variations of the following (which I cut/paste from another thread). $subtotal allows returns '0'. …

Member Avatar for iamthwee
0
80
Member Avatar for jd2008

for e.g. [url]www.doheth.co.uk/music/lyrics.php?s=30346[/url] -...pls help me create the regular expression...there are few other strings which starts with www and eds with -, is there a way to store strings which matched in an array ?..pls help...

Member Avatar for iamthwee
0
79
Member Avatar for phpbeginer

Hi, I want to write my first Banner on my page with PHP. I'd like to have several pics or Flash on it. How should i start? Thanks for any answer...

Member Avatar for iamthwee
0
41
Member Avatar for php_newbie

Hello Everyone. I am a newbie in PHP and using XAMPP tool for learning php. While dealing with forms,I encounter a problem,please help. I have made a simple form in which user fill his name in textbox click on button,his name is displayed.But,this is not happening,Instead of this dreamweaver opens …

Member Avatar for Cerberus
0
86

The End.