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 ]
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


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

In the .htaccess file, is ...

Code: [ Select ]
Options -Indexes
  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" 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" ... Full image here . Stock image references: Girl: #2646246 Background: #4764405 Banner is an animated GIF with a subtle ...

Post Posted: June 11th, 2008, 7:35 am

I'm looking for an open-source poll script where visitors can select choice from radio buttons and then view poll results in bar chart. It should have cookie checks in place to prevent people from voting twice.

Any recommendations?

Post Posted: June 5th, 2008, 9:08 pm

jameson5555 wrote:
I thought for sure that 50kb would make Flash out of the question, but mine ended up at only 26kb somehow...

Flash compiler is very good at making small file sizes.

Post Posted: May 27th, 2008, 10:51 am

Interesting. The only language that I am aware of that has case-insensitive keywords is Visual Basic -- not but the old VB.

I think I'll use the all lowercase version for the PHP boolean.

Post Posted: May 26th, 2008, 3:27 pm

I'm looking at the PHP reference here ... And it show boolean as sometimes as "True" (with cap on first letter). Then other times it show "TRUE" (with all caps). Am I suppose to use (single cap or all caps) for these two cases ... 1) $foo...

Post Posted: May 26th, 2008, 3:00 pm

CA-SA wrote:
I don't see any animation occurring in the image, artcoder...

Yeah, the animation is very short because I tend to think long animations that loops can be too annoying.

You might have to view the banner in its full size as linked here.

Post Posted: May 25th, 2008, 10:23 pm

Here is my submission. It is an non-looping animated gif. So do a Shift-Refresh to see the animation again.


To see the image at full size, view it here.

Post Posted: May 6th, 2008, 7:42 pm

Is it permissible to use screen shots of some of your actual templates in the banner? Or is that against copyright regulations?

Post Posted: March 14th, 2008, 7:09 am

Thanks. Interesting thoughts. In my case, it seems to be is a proper PHP file with the servers running too slow or overloaded.

Post Posted: March 13th, 2008, 1:59 pm

This is bizzare. I'm navigating around a site and it appears to run very slow. I'm afraid it is going to time out. And all of a sudden, my Firefox browser pops up dialog saying "Do you want to open or save to disk?" and it was a PHP file. I have never encounter a browser asking me to save ...

Post Posted: March 11th, 2008, 5:41 pm

Are you saying that every search results returned by this has been reviewed by a human? That is a daunting task, isn't it?

Post Posted: March 8th, 2008, 9:58 am

Good explanation. Understood.

Post Posted: March 7th, 2008, 10:31 pm

Thanks, altering the php.ini worked perfectly.

Rabid Dog wrote:
Just a silly question. Why are you not handling the errors in your code gracefully?

That's because I have not quite learned that yet. But I will soon.

Post Posted: March 6th, 2008, 8:20 pm

Hmmm. The documentation does say that this is how to turn off error reporting. But when purposely put in this syntax error...
Code: [ Select ]
<?php error_reporting(0); echo getTop(; ?>
My browser is still displaying syntax error at line XX of file XXXXX. Could it be that it also needs to be set...

Post Posted: March 6th, 2008, 11:37 am

When I have PHP typos on live site, people is able to see the full detailed error message with full file path on the site. How do I suppress this display? Via Webhost? Or via PHP code?

Post Posted: March 2nd, 2008, 12:06 pm

I want to write a function that takes a string as input. The function should return the first part of the string before the hypen. If there is no hypen found, it should return the whole string. For example, inputs of "games-classic", "education-talk", and "fun" should r...

Post Posted: February 28th, 2008, 7:28 pm

Rabid Dog wrote:
Are you aware that ASP.NET is used by more web developers than PHP?

No, I am not aware of this. From what source did you gather this information?

Post Posted: February 23rd, 2008, 9:27 pm

Normally, I would use "globals" to do ... [code]  $topBannerAds = array('ad_one', 'ad_two', 'ad_three');   function getAd() {     global $topBannerAds;     return $topBannerAds[rand()%(count($topBannerAds))]; } function displayAd() {     global $topBannerAds;     echo $topBannerAds[rand()%...

Post Posted: February 23rd, 2008, 9:22 pm

I learned PHP because it is the most common server-side language available on all these economy shared webhosts. Also it is predominately used by popular open-source software such as WordPress, ZenCart, Joomla, Drupal, etc. Hence, it is most useful to know PHP if you work with the above-mentioned op...

Post Posted: February 6th, 2008, 10:07 am

Let's say that I have a domain name and website both on GoDaddy. I have just initiated a domain name transfer to HostGator. I have uploaded my new site to HostGator by FTPing to an IP address. I have set up the domain name email on HostGator. GoDaddy has not released the domain name yet. Can I at th...

Post Posted: January 27th, 2008, 1:08 pm

Some will. And if they do, it is only for simply scripts. Not sure if they will move a ZenCart eCommerce shop though. I'm thinking not, because it involves reconfiguration of MySQL database, ZenCart config files, export and import of customer information, etc.

Post Posted: January 27th, 2008, 9:52 am

Dreamhost seems fine. Although, they don't have phone support. What's up with that? What happens if I'm doing a domain name transfer and lost access to my emails. I think 24/7 phone support is a must for any web host. That is why I like HostGator, HostMonster, BlueHost.

Post Posted: January 27th, 2008, 9:47 am

The bottleneck is in the MySQL and PHP serving up pages, I believe.

Post Posted: January 26th, 2008, 10:02 am

I got ZenCart (MySQL and PHP app) running on GoDaddy. It is too slow. So I signed up for a trial at HostGator. Before I migrate my ZenCart store to HostGator (which is a big project), I want to test the speed of HostGator running MySQL and PHP apps. I don't want to migrate and find that it is just a...

Post Posted: January 10th, 2008, 8:52 pm

This one here is very good. Open-source so it is free. Called XSPF web music player. It doesn't have a good memorable name.

Post Posted: January 10th, 2008, 6:42 pm

Which of these statements do you use to help you debug PHP code and why?


Or is there a better command that I can use?

Post Posted: November 22nd, 2007, 9:53 am

Why do you want internet explorer 6? Thats like deciding to sell your house to go live in a cardboard box. If you require it for testing purposes you can use the following. Oh, I see. You are saying that these standalone browsers lets me run IE6.0 alon...

Post Posted: November 22nd, 2007, 9:30 am

Yes, I want IE6.0 for cross-browser testing. works fine if you got static HTML. However, I need to run and interactive with a dynamic site using IE6.0. I have tried removing IE component in the Windows "Add Remove Components". But even after so-call "removing IE"...

Post Posted: November 21st, 2007, 11:52 pm

I currently have IE7 on Windows XP. I want to remove it and install IE6 instead. How can I do?

When I tried to install IE6, it says that it can not proceed because I have a newer version of IE.

Post Posted: November 15th, 2007, 11:36 am

Thanks. Seems to be okay now. Seem to be something was caching or something.

Post Posted: November 13th, 2007, 4:59 pm

They are using Safari and Firefox for Mac (latest versions). When they used those same browsers to view the primary domain name, it works fine. When they used those same browsers on the same machine to view the secondary domain name (which should re-direct to the same site), certain parts are not lo...

Post Posted: November 13th, 2007, 11:54 am

I have setup a website on shared web hosting with a primary domain name. Then I have setup a secondary domain name that redirects to that primary domain name. On all computers (Mac and PCs) and on all browsers, the website looks fine. Except that on the client's home computer (G5 Mac OX 10), the sit...

Post Posted: October 27th, 2007, 5:20 pm

Thanks for the through explanation.

Post Posted: October 27th, 2007, 1:18 pm

Good idea. Turns out 775 didn't work either. only 777.

Post Posted: October 27th, 2007, 10:29 am

I was told to change the permission of an image directory to 777 because "PHP needs to write to it". Is that correct advice? What are the security risks for doing so? Is there other ways for PHP to write images to a directory without setting the directory permission to 777? Thanks in advance

Post Posted: October 2nd, 2007, 8:45 am

scandir seem to only work in PHP5 when I tried it. I''m still on PHP4.

Thanks for the code help. It worked perfect.

Post Posted: October 1st, 2007, 11:11 pm

Thanks, all. I decided to use the dir class ...
Code: [ Select ]
$d = dir("mydir"); while (false !== ($entry = $d->read())) { echo $entry; } $d->close();
But its listing is not sorted. How can I stick those "$entry" into an ar...

Post Posted: September 28th, 2007, 7:36 pm

I want to write a PHP page that simply display a list of files found in the directory of the webserver in which the PHP file resides. What PHP code would do that?

Post Posted: September 23rd, 2007, 8:45 pm

Rename your PDF filename so that it does not have any spaces in the filename. Links doesn't like to have spaces. And just my personal preference, but I like my filenames to be all lowercase.

Post Posted: September 18th, 2007, 2:37 pm

To customize a template you have to know your way around HTML and CSS. For example, to change the color of the template, most likely you will need to alter the color hex code in one of the CSS rules. To swap out an image (such as a place holder logo with your own logo), you need to search for the &q...

Post Posted: September 8th, 2007, 5:44 pm

I got a new HP laptop that comes with Windows Vista. I also had installed Photoshop CS3. Now I noticed that are a bunch of fonts that I have never seen or heard of before. Such as "Angsana New". Which is good. But I'm curious as to where these new fonts come from? Does Vista comes with the...

Post Posted: August 12th, 2007, 2:56 pm

Ah I see. Hidden menus.

Post Posted: August 12th, 2007, 12:48 pm

How to get Window Vista Explorer to list filename with file extensions? For example, I want to see "mypicture.jpg" or "mypicture.png". I don't want to see just "mypicture" as the filename.

Post Posted: July 28th, 2007, 12:16 am

Very interesting. Thanks for the feedback. Yes, it is very hard to find laptops with 4GB of RAM off the shelf.

Post Posted: July 25th, 2007, 8:41 am

In consideration of buying a new laptop, which of the following will give me better performance running Photoshop, Dreamweaver, and Flash simultaneously? 1) Upgrading the process from "Intel Core2 Duo Processor T7100 (1.8 GHz and 2MB of L2 Cache)" to "T7700 (2.4 GHz and 4MB of L2 Cach...

Post Posted: July 19th, 2007, 2:21 pm

Hi Louise, Scroll to the bottom of this page , and you see some free hosts. I had never used these free hosts, so I can not comment. But I have used Hostmonster and I like it a lot. It is not free, but you might want to give it a consider -- especially when you need a MySQL database for your forum. ...

Post Posted: July 19th, 2007, 2:16 pm

I found this ...

IndexIgnore *

in the .htaccess file in /public_html/

What is this? It has nothing to do with search engine indexing, does it?

Post Posted: July 14th, 2007, 11:37 pm

What I was wanting to know is where in MySpace do I type this code in? After logging into MySpace, there are just links. I don't see any edit box where I can type code in.

Post Posted: July 14th, 2007, 5:07 pm

I want greater customization over the MySpace profile than through the customization editor.

How can I apply my own stylesheet or CSS code to the MySpace profile?

Post Posted: July 14th, 2007, 5:05 pm

I used to know VB, ASP, JSP, C++, and Java.
Now I have forgotten them.

Now I know the following instead:
HTML, CSS, PHP, Javascript, Actionscript.

Post Posted: July 12th, 2007, 7:15 am

Lately, I've been getting a lot of spam with just a PDF attached. If I double click and open it, can that trigger any viruses? Is it really an EXE posing as a PDF.

Most likely a virus can not hide in a true PDF. But have they figured out a way conceal an EXE and make it look like a PDF?

Post Posted: July 12th, 2007, 6:46 am

I have never used MySpace. If I sign up for MySpace, do they automatically give me an "MySpace" email? Or can I use my own email existing email when people contact me via MySpace's "Send Member a Message"? I don't want to have to check yet another email address. If MySpace does g...

Post Posted: July 10th, 2007, 9:04 pm

There was a time when my blog at had up to a PR5. But now it is showing a PR0 in and the Google tool bar is saying "No page rank information available". Does that mean that Google banned my blog and took it off its index? Or did my PR just drop...

Post Posted: July 8th, 2007, 11:10 pm

I had placed and gotoAndPlay(277) on the first frame of my movie. A lot of time it does not jump me to from 277, even though a trace statement right after it always shows executed. When I put the same gotoAndPlay(277) on frame 5, it works every time. Anybody experieced this? It is pretty strange.

Post Posted: July 3rd, 2007, 12:31 pm

Actually, I'm on a PC. That is why I'm have WMV. I want to convert to MOV because I think Mac folks like MOV. Perhaps, I'm in the wrong forum.

Post Posted: July 3rd, 2007, 12:08 pm

What software does the best job in converting WMV to MOV video format? By "best job" I mean "least amount of quality loss".

Thanks in advanced.

Post Posted: July 3rd, 2007, 7:52 am

I noticed that Google Analytics shows that there are external links to my pages in people bookmark.

So I'm wonder, what if I bookmark my pages in my own public bookmarks? Does that help in getting more visitor to my pages or page rank?

Post Posted: March 31st, 2007, 10:53 am

If you are just starting out, I recommend a low-cost shared web hosting. They are around $5/month (roughly, as prices do vary quite a bit). I like Hostmonster and Dreamhost. But here are some other web hosts for you to do some comparison shopping. I would not go for free web hosting. Once you find a...

Post Posted: March 18th, 2007, 8:18 pm

How to fix the missing border of this page as seen in IE7? The css is here with the relevant portion below... [code] /* picture box */ div.pictureshadow { background-image: url('images/pictureshadow.png'); background-position: right bottom; background-repeat: no-repe...

Post Posted: March 18th, 2007, 8:02 pm

Just curious. Does the name Ozzu mean anything or have a reference to something? I never heard of that name before.

Post Posted: March 8th, 2007, 9:51 pm

Chicago Concrete wrote:
Overall Nice Site,
But... ;)
-also, where it says "Bookmark this website. " I was kind of expecting it to be a link to a "bookmark script"... maybe it should be?

That's a good idea. Anybody know where I can get a "bookmarking" script?

Post Posted: March 6th, 2007, 9:01 am

The front page looks really good, but why not in the galleries? :lol: That is because I created the "galleries" (the sub-sites) long time ago and I created the main front page just now. And back then, I didn't know what I was doing. But don't worry, when I have time I will create some new...

Post Posted: March 5th, 2007, 9:33 am

Yes, I did the sub-sites too.

Is there a good "AJAX lightbox gallery" open-source software? Or script? Or tutorial? A url?

Post Posted: March 4th, 2007, 9:29 am

Just launched Another Photo Gallery. Yes, that is what it is called: All comments are appeciated. Thanks.

By the way, comment not just on the main site, but also the individual galleries too. Especially, Images From a Tea Garden. That one is my favorite.

Post Posted: March 4th, 2007, 9:26 am

Yes, I really like the two characters. However, as I scroll down the page, I mainly is the blue angel characters and the red devil character is not used as often. You might want to balance the roles of the two characters a bit. Perhaps put the devil character for the credit card debt sections. I act...

Post Posted: March 4th, 2007, 9:20 am

It loads very quickly for a Flash site. I didn't even notice a loading bar. That's very good. I like the sliding animation. I know that I'm suppose to click the "planets" in the home page. But for some reason, I got the urge to click the center Solos banner as well. And I actually clicked ...

Post Posted: March 1st, 2007, 4:49 pm

I would recommend simply because they make it risk-free to you. That is, you do not pay until site is live and you can cancel at any time without cost to you. The only problem is that they will not host your site. They will show you how to register and signup for hosting. And I...

Post Posted: February 28th, 2007, 2:17 pm

What font and colors would be good for a website targeting 19-24 year olds? Obviously, I am not within that age group. But for those of you who are, if you can tell me what website styles you like? Perhaps some example sites would be helpful.

Post Posted: February 27th, 2007, 10:07 am

When should I use "print" and when to use "echo" in PHP?

Post Posted: February 27th, 2007, 9:05 am

I've only been on this forum for a short time. But I have been on many other forums before and I have signed up for many webhosting before too. I am presently surprised at how fast this forum runs. For example, comparing this to forums for example. What server host is hosting this forum? ...

Post Posted: February 27th, 2007, 9:01 am

I'm also seeing a lag on your site and I'm on IE7. The lag is caused by your front page main animation causing the left-sidebar animation to be running at very slow speed.

When I go into the internal pages, the left-sidebar menu works fine.

Post Posted: February 27th, 2007, 8:50 am

If you are talking about affiliate programs, I have amazon affiliate "Buy Book" ads on my blog and site for over 6 months. And I did not get any sale in that time. I have been on templateMonster affiliate program for 4 months trying to re-sell their templates for them at . N...

Post Posted: February 27th, 2007, 12:48 am

I like what you have done with your template-for-sale shop. Very nice.

Perhap other members (I for one) of the ozzu community would like to upload their own created templates for sale. It would be a good idea to create a section or a forum on the site that would allow for that.
  • Sort by

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.