Forum: PHP Oct 12th, 2009 |
| Replies: 50 Views: 1,983 to get it to go to the german page then you'd use
header('Location: german_page.php');
exit; |
Forum: MySQL Oct 12th, 2009 |
| Replies: 2 Views: 616 My view is that the image is best saved on to the hard drive and a link to the image gets saved into the database. You'll save space in your DB and speed up any queries that are run to find the image. |
Forum: PHP Oct 12th, 2009 |
| Replies: 7 Views: 284 Do you have permissions setup to allow file uploads? |
Forum: PHP Oct 4th, 2009 |
| Replies: 4 Views: 277 your going to need to have more than one option to input the H and W. Once you have that then make the inputs into an array and then loop through the array.
$sizes = array('5X4', '3X8', '2X6');... |
Forum: PHP Sep 30th, 2009 |
| Replies: 4 Views: 272 rename the variable to something else.
Rather than call the Variable $show call it $project_id and then have one for sub menu called $sub_menu. It's much easier to call the variable something... |
Forum: JavaScript / DHTML / AJAX Sep 22nd, 2009 |
| Replies: 2 Views: 299 You have correctly set the UL to hidden/visible accordingly? |
Forum: PHP Sep 22nd, 2009 |
| Replies: 10 Views: 528 Id write this line of code as
createthumb($dir1,$dir.'/thumbs/'.$photo1,100,100);
Give that a try. |
Forum: PHP Sep 22nd, 2009 |
| Replies: 5 Views: 339 When I started out i used Dreamweaver but there are plenty of other IDE's you can use such as Komodo.
I setup with Apache HTTP Server, MySQL 5, PHP all on my Win XP. An easier option may be Wamp... |
Forum: JavaScript / DHTML / AJAX Sep 21st, 2009 |
| Replies: 6 Views: 376 Your javascript is requesting a value that isn't there.
Why do you need to do this? What benefit would this be? It would surely take more time to type a query, click a button, generate text to... |
Forum: PHP Sep 21st, 2009 |
| Replies: 1 Views: 275 This should be posted in the Javascript category.
However, you're javascript is requesting the Value of the hidden text box yet you have no value attribute... this will cause a java error.
You... |
Forum: PHP Sep 21st, 2009 |
| Replies: 1 Views: 542 Try putting 32M instead of 32MB in your php.ini file.
I had a similar issue and that's how I resolved it. |
Forum: PHP Sep 21st, 2009 |
| Replies: 8 Views: 366 You could use a for or while loop to do this.
For Example:
$pictures = array('beach.png' => 'Image of the Beach', 'mountain.png' => 'Picture of a mountain');
foreach($pictures as $image =>... |
Forum: PHP Aug 17th, 2009 |
| Replies: 8 Views: 324 You can also use
ini_set("register_globals", "off");
rather than use .htaccess or if you can't amend the php.ini file |
Forum: PHP Aug 9th, 2009 |
| Replies: 5 Views: 502 for this to work in php you would need to get the page to reload/refresh.
personally, if i ever wanted to do something like this i'd use Javascript. I'd more than likely use the Jquery Javascript... |
Forum: ASP.NET Aug 3rd, 2009 |
| Replies: 3 Views: 377 I'm new to ASP.NET so i'm probably asking a very stupid question so apologies!!
I have 4 pages in my site so far. I want all of them to display the same page title. E.g My Website Title > A Small... |
Forum: PHP Jul 8th, 2009 |
| Replies: 3 Views: 297 Use php's but n date function
<?php
echo date('d F Y H:i:s', time());
?> |
Forum: Web Browsers Jun 18th, 2009 |
| Replies: 5 Views: 625 Do you have any download accelerators on your PC?
I don't think that this post would be for the PHP category anyway.
Sorry
Alex |
Forum: PHP Feb 24th, 2009 |
| Replies: 7 Views: 494 This post may be better in the Web Design forum as it's not a PHP issue.
http://www.daniweb.com/forums/forum15.html |
Forum: PHP Feb 24th, 2009 |
| Replies: 2 Views: 572 Why don't you store the images as files on your web server and keep a link to the image in the database?
That's alot easier and it minimises the space taken up in the DB - meaning faster searches. |
Forum: PHP Feb 17th, 2009 |
| Replies: 1 Views: 251 by this I'm assuming you mean the regular expression? I'm assuming your validating clientside with javascript and further validation server-side incase javascript is disabled.
What characters can... |
Forum: RSS, Web Services and SOAP Feb 7th, 2009 |
| Replies: 1 Views: 1,766 It all depends where it's getting cached. It could be through a web proxy cache like Squid. Unless you specify an expiration date when the feed is retrieved the the proxy cache / browser will fetch... |
Forum: HTML and CSS Feb 7th, 2009 |
| Replies: 10 Views: 967 What i mean by my last post is if you use the dreamweaver wizards to write the code. |
Forum: HTML and CSS Feb 7th, 2009 |
| Replies: 10 Views: 967 I would go for Notepad++
http://notepad-plus.sourceforge.net/uk/site.htm
When you use Dreamweaver to write your php code, in my opinion, it looks very messy and some parts are just unnecesary. |
Forum: PHP Feb 7th, 2009 |
| Replies: 1 Views: 301 The user may be specified in a cookie or session. Try deleting temp internet files, history, etc close the browser and try again. |
Forum: JavaScript / DHTML / AJAX Feb 7th, 2009 |
| Replies: 2 Views: 3,317 Use this code:
<script type="text/javascript">//<![CDATA[
document.write('<a href="<?php echo $product_flypage ?>">');
document.write( '<?php echo ps_product::image_tag( $product_thumb_image,... |
Forum: PHP Feb 7th, 2009 |
| Replies: 3 Views: 2,809 Also, you may want to take a look at this demo:
www.tutorialized.com/tutorial/Making-Sticky-Forms/15487 |
Forum: PHP Feb 7th, 2009 |
| Replies: 3 Views: 2,809 You could use something like:
<form method="post" action="page.php">
<select name="people" id="people">
<?php if($_POST['submitted'] == true){ ?>
<option value="<?php echo... |
Forum: PHP Feb 7th, 2009 |
| Replies: 4 Views: 1,095 Does Yahoo mail support SMTP? |
Forum: PHP Jul 18th, 2008 |
| Replies: 11 Views: 1,469 What if the user disabled Javascript? |
Forum: PHP May 15th, 2008 |
| Replies: 1 Views: 918 You should have a look on the PHP site:
http://us3.php.net/function.get-browser
http://uk.php.net/manual/en/reserved.variables.server.php |
Forum: PHP May 7th, 2008 |
| Replies: 1 Views: 754 I would suggest looking at the php website by following this link:
http://uk.php.net/oci8 |
Forum: PHP May 5th, 2008 |
| Replies: 1 Views: 421 once the user & pass is validated in window b, use javascript to close (B) and refresh window(A).
Window a then has a script to check the user credentials again and then uses the php header()... |
Forum: PHP May 5th, 2008 |
| Replies: 1 Views: 469 This post may be better of in the Javascript forum!! |
Forum: PHP May 5th, 2008 |
| Replies: 4 Views: 686 I would suggest you purchase a book on PHP. An excellent book is PHP and MySQL for Dynamic Web Sites :
http://www.amazon.com/PHP-MySQL-Dynamic-Web-Sites/dp/0321336577
It gives you all the basics... |
Forum: PHP May 5th, 2008 |
| Replies: 3 Views: 712 This sounds as though your having a problem with Dreamweaver - not with your php setup.
Why not use Windows Explorer - Navigate to C:\WAMP\WWW\afolder\ and create a txt file. Open the file using... |
Forum: PHP May 5th, 2008 |
| Replies: 9 Views: 780 Can you let us know what the problem it is your having?? |
Forum: PHP May 5th, 2008 |
| Replies: 7 Views: 875 I've tried this code myself and I can definately connect.
<?php
$name = 'emailaddress@gmail.com';
$pwd = 'password';
$mailbox = '{imap.googlemail.com:993/imap/ssl}';
$mbox =... |
Forum: PHP May 3rd, 2008 |
| Replies: 10 Views: 5,121 replace your while loop with this:
while ($data = mysql_fetch_array($result, MYSQL_ASSOC)) {
echo '<img src="'.$row['url'].'" /><br/>';
}
This should loop through the images and... |
Forum: PHP May 2nd, 2008 |
| Replies: 10 Views: 5,121 Your not selecting a database in your code.
Try adding
mysql_select_db('databasename'); |
Forum: PHP May 1st, 2008 |
| Replies: 7 Views: 875 Did you check if the IMAP function had been enabled in GMail? |