Search found 88 matches

Actual Results

Post Posted: August 9th, 2009, 1:14 pm

I have the following in the PHP string variable (not in the $_GET):

Code: [ Select ]
$myString = "index.php?option=com_content&id=62&view=article";


How can get extract out the value 62?

Post Posted: July 18th, 2009, 10:40 am

When a user posts a form, I can retrieve their values by ...
Code: [ Select ]
$_POST['imagefilename']
But this particular form is dynamically constructed so I do not know all the name attributes of all the inputs fields. I don't even know how many input fields there are. So there could be an input fie...

Post Posted: July 3rd, 2009, 10:25 am

I have an image stored in a MySQL table as a "longblob". How can I write PHP code to write this data to an image file?

Post Posted: June 28th, 2009, 10:41 am

I put ...

Code: [ Select ]
php_value register_globals 0


in my .htaccess file and got a 500 server error.

Why? Is that not how I am supposed to disable register globals?

When I remove that line, it is fine.

Where is a good tutorial on how to disable register_globals?

Post Posted: April 1st, 2009, 9:21 pm

I'm using PHP readdr as in this tutorial to list the files in the server directory. I can list the files fine. But I want it to query the directory list in AJAX fashion. So a user clicks a button, and AJAX query is made to retrieve the list of files in the directory, and then display that list to th...

Post Posted: February 1st, 2009, 12:06 pm

I have an element (a link actually) where on mouse over, I display a hidden layered div using Javascript. But I want this div to be located right underneath the link element. Due to fact that the page centers horizontally, the link element is in different coordinate on the browser window depending o...

Post Posted: November 12th, 2008, 11:45 pm

Barrie North, founder of JoomlaShack says in his book "Joomla! An User Guide" on page 197 ... [code]"There is no such thing as a search engine optimization anymore. The only reality now is having a long-term web marketing strategy and a commitment to building a site full of quality in...

Post Posted: November 7th, 2008, 11:24 am

If I see the following in Joomla code...
Code: [ Select ]
$menu = JSite::getMenu();
What is the colon colon operator called? I don't see that listed here . What is "JSite" called? Is that "object", "class", "static class"? Is that a "class" or "an...

Post Posted: November 1st, 2008, 3:33 pm

What PHP code can return "2008" (the current year)?

Post Posted: September 4th, 2008, 9:47 am

Given an URL to an image, how can I write a PHP function that determines or returns the height and width of that image in pixels?

My server do have access to ImageMagic (i think).

Post Posted: July 24th, 2008, 12:39 pm

Bandwidth and disk space spec are not so important if you are just starting out. Because almost all host will have more than enough disk and bandwidth than you would likely need. I always pick ones that has 24x7 phone support, not those that only have email or ticket support. If you plan on having m...

Post Posted: July 6th, 2008, 1:58 pm

Oh, okay. I'll stick with IndexIgnore in the .htaccess file since it is working for my shared host's configuration. I simply wanted to prevent users from listing my files in a directory where I didn't have an index.html

Thanks.

Post Posted: July 5th, 2008, 1:46 pm

In the .htaccess file, is ...

Code: [ Select ]
<Directory YOUR WEBROOT PATH>
Options -Indexes
</Directory>
  1. <Directory YOUR WEBROOT PATH>
  2. Options -Indexes
  3. </Directory>


equivalent to ...

Code: [ Select ]
IndexIgnore *


Please explain. If not, which is preferred method? Thanks.

Post Posted: June 26th, 2008, 8:52 am

Thanks. Here is my third and final entry: "artcoder comp3" http://youdesignicode.com/projects/ozzubanner/artcoder_comp3.gif Link to fullsize image It uses Dreamstime stock image #2426729 and the Baveuse font. Stock images are good for backgrounds, but they are also good for sel...

Post Posted: June 24th, 2008, 4:11 pm

Here is my second submission called "artcoder comp2" ... http://www.youdesignicode.com/projects/ozzubanner/artcoder_comp2.gif Full image here . Stock image references: Girl: DreamsTime.com #2646246 Background: DreamsTime.com #4764405 Banner is an animated GIF with a subtle ...
  • Sort by
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.