No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
11 Posted Topics
[QUOTE=TheNational22;808851]Thanks both of you, first off. Now I have added the $dir variable as a global, and when designating the path as ".", I get the thumbs to display. When I change it to G:\xampp\xampp\htdocs\images, I get: Warning: opendir(G: mpp mpp\htdocs\images) failed to open The issue here looks like an …
[QUOTE=jproducer;809505]Anyway, the Min-height:600 worked for most of the pages, but there are others that are much longer. So those didn't take.[/QUOTE]I think the problem is that you have 3 columns of data; the menu (left_nav), the body (right_left_1) and the contact (right_left_2) section. Because these sections are using "float: left;", …
[QUOTE=dmanw100;808726]Hello, I am new to php and enjoy the fact that it is very similar to languages that I'm much stronger with (mainly C++ and Java). While working through the w3 school's tutorials I noticed a foreach() loop. What loop in C++/Java would this be similar to?[/QUOTE] It's similar to …
[QUOTE=progurammaar;808151]hi my site is not working properly with ie7....firefox and opera are fine......[/QUOTE] Elaborate on "not working". That means nothing. What's not working? As a side note, IE6 is not compatible with your site as it cannot render png images.
[QUOTE=cwarn23;809564]If explode uses a string and split uses regex then what does preg_split use? What is the difference between split and preg_split? Just curious.[/QUOTE]"explode() takes a delimiter to split by ... split() takes a regular expression" "documentation says that preg_split() is faster than split()" [url]http://blog.brianhartsock.com/2007/06/11/php-explode-vs-split/[/url] "preg_split(), which uses a Perl-compatible …
[QUOTE=Besherek;809161]Just to add. I'm using CSS to style the nav using Divs and Spans. It's just a matter of calling the selected category from the loop to highlight it as selected. i.e. on the page category.php?cat=3 . How can I highlight cat 3 in the nav to show that it's …
[QUOTE=cwarn23;808496][CODE=php]//adjust mysql query accordingly $result=mysql_query("SELECT * FROM `users` WHERE `username`='".$_POST['username']."' AND `password`='".$_POST['password']."'");[/CODE][/QUOTE] This doesn't seem very safe...[CODE=php]//adjust mysql query accordingly $result=mysql_query("SELECT * FROM `users` WHERE `username`='".mysql_real_escape_string($_POST['username'])."' AND `password`='".mysql_real_escape_string($_POST['password'])."'");[/CODE]You need to use [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string()[/URL] to stop injection attacks. [URL="http://www.tizag.com/mysqlTutorial/mysql-php-sql-injection.php"]http://www.tizag.com/mysqlTutorial/mysql-php-sql-injection.php[/URL]
[QUOTE=Aamit;807988]hi, i want to create application for like 1> real estate & Property or 2> landlord and property ... there is any opensource code to create a this type of application?? or demo links..[/QUOTE] This looks like a question for google... [url]http://lmgtfy.com/?q=open+source+real+estate+Property+landlord+application[/url] A few links I quickly found: [url]http://www.open-realty.org/[/url] [url]http://www.open-realty.co.uk/[/url] …
[QUOTE=Andrieux;807233]I have IPB 2.3.5. I need to decrypt (or encrypt) the passwords from the database so I can compare them to user input from another page.[/QUOTE]It's unlikely you'll decrypt them; they're hashed. [QUOTE=Andrieux;807233]So, how does anyone happen to know how IPB encrypts their passwords? (Or how to decrypt them?)[/QUOTE]A quick …
Hello, I have not had a huge amount of experience with regular expressions. Any help you can give is greatly appreciated. I have an input file like this: [CODE]Name: Bob, Age: 20, Details: Likes chocolate Hates lettuce, Location: London Name: James, Age: 42, Details: Sometimes goes swimming, Location: New York …
I am new to awk, so please excuse any mistakes. I was hoping someone would be able to tell me if it's possible to include variables in a regular expression, and if so, how. The code I currently have is the find the beginning of link (<a) and image (<img) …
The End.
jedi_ralf