39,402 Topics
![]() | |
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) … | |
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 … | |
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 … | |
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? | |
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 … | |
hi, can any one tell me how to traslate date in english format to date in hijri format? Regards, faruk hossain chowdhury | |
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] | |
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, … | |
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++; … | |
Hi Is it possible to use php to display different text each day for my website. | |
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, | |
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 … | |
Anybody Pls send me the codes(working file) to send email from flash. Using php or asp! [email]jabbarmk@gmail.com[/email] | |
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 … | |
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 … | |
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] => … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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. *,/,< etc. </div></td>'; $error++; … | |
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 … | |
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 … | |
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 … | |
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 | |
Hi, can anyone point me in the right direction with incorporating rss feeds into web sites? Thanks. | |
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] ![]() | |
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 … | |
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. | |
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 … | |
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.. | |
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 | |
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'. … ![]() | |
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... ![]() | |
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... ![]() | |
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 … |
The End.