Search found 3994 matches

Actual Results

Post Posted: February 29th, 2016, 5:56 am

Hi there, I'd like to know if there is a way to create an Ubuntu install disk from an ubuntu that is already installed. I have a server that I have set up on my local machine that is quite complex (for me). Is there a way to create an install disk so I can clone this installed ubuntu with all the st...

Post Posted: January 19th, 2016, 12:24 am

Unfortunately not, I have tried it with "Authorization", nothing. I then added the following code to .htaccess to see if I can force the header through:
Code: [ Select ]
SetEnvIfNoCase ^Authorization$ "(.*)" HTTP_AUTHORIZATION=$1
this way the header is in $_SERVER but it is blank...

Post Posted: January 17th, 2016, 8:35 am

Hey man, I have definitely tried that :) Here are some things I have tried and the results: [code lang="php"] echo '<pre>',print_r(getallheaders()),'</pre>'; echo '<pre>',print_r(apache_request_headers()),'</pre>'; echo '<pre>',print_r($_SERVER),'</pre>'...

Post Posted: January 15th, 2016, 7:59 am

Howdy all, been a while ... I am absolutely stumped and I am pretty sure someone here could help me out. I am working on a Backbone.js site with a PHP API layer, I would like to include a custom header (token) to all my HTTP requests. That already works half-way, I can see the request headers being ...

Post Posted: July 10th, 2012, 7:40 am

Hi all, Firstly, this issue is Internet Explorer Specific. Works fine in Chrome and FireFox. Also, I only care about IE8 & 9. Please don't even worry about the others. I have the following page: http://uat.suncollogin.co.za/crux/user/create . On this page, please go to step 3 (Ot...

Post Posted: December 1st, 2011, 11:16 pm

Ah, thanks so much, that is what I was looking for, the MySql version will be better for me.

And yeah, this is a daily report that needs to be filled in and will just track how many hours a machine has worked. So yeah, I just track hours.

Post Posted: November 30th, 2011, 4:20 am

Hi all. I have two time fields in my database: "start_time" and "stop_time". These fields track the time a machine worked (hh:mm:ss). There is a view page where I'd like to display the time difference between these two for the user. Subtracting them from each other just gives &qu...

Post Posted: August 2nd, 2011, 1:38 am

I ended up using REGEXP, the query now looks like follows:

MYSQL Code: [ Select ]
SELECT * FROM `example` WHERE ('D' REGEXP concat('^[',`min_character`,'-',`max_character`,']'));

Post Posted: August 2nd, 2011, 12:35 am

I have a table that looks similar to this example table:
MYSQL Code: [ Select ]
CREATE TABLE `example`( `id` INT(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, `title` VARCHAR(32) NOT NULL, `min_character` CHAR(1) NOT NULL, `max_character` CHAR(1) NOT NULL )ENGINE=MyISAM;
Let's say I have the following data i...

Post Posted: June 4th, 2011, 1:40 am

spork wrote:
Ugh. Don't use SOAP. Seriously.

I don't really have a choice here, I think ... is there an alternative? This is something that I've never done before so I actually have no idea ...

Post Posted: June 3rd, 2011, 12:03 am

Wooohoo ... I figured this out, what a dumb mistake "Username" should've been "UserName".

Post Posted: June 2nd, 2011, 11:22 pm

I have never used PHP's SOAP to do anything so I am seriously unfamiliar with the formatting of a proper SOAP call. The documentation on the server I am using states that I need to first do a "login" request and then I will receive my "token" which I need to use for the rest of m...

Post Posted: May 26th, 2011, 2:57 am

Code: [ Select ]
<img src="http://localhost/images/<?php echo $image_name; ?>" alt="There ya go" />

Post Posted: May 24th, 2011, 11:27 pm

All right, I have figured this out ... The thing I was looking for is Google Places . What happens is I add my company to google places and in the process I add my url, then when google returns my url in a result it adds a map because it sees that I am on google places and places a marker on the map...

Post Posted: May 24th, 2011, 5:27 am

I have come across this recently where when I search for something like "software development" in google the result is usually a list of companies, this then shows the results as per usual and adds a google map to the right with (almost) each result as a marker on that map. Is there a way ...

Post Posted: May 20th, 2011, 6:19 am

On that page there are 10 images on the left. FF4, Opera 11, Chrome, IE8, IE7

I truly think your friend should just ditch IE6 as it is a piece of junk and is WAY outdated.

Post Posted: April 18th, 2011, 12:18 am

I don't know of any online tutorials/books, I usually just google what I am looking for specifically that day/project and sort that out and learn it step by step.

Post Posted: April 15th, 2011, 6:00 am

HTML:
HTML Code: [ Select ]
<a id="em">Eddy</a><br /> <div id="image"></div>
JAVASCRIPT: [code=javascript]$(document).ready(function(){ $('#em').hover(function(){ $('#image').html('<img src="/images/eddymurphy.jpg" alt=&...

Post Posted: April 13th, 2011, 11:10 pm

graphixboy wrote:
If that doesn't clear it up can you post a link? Its a lot easier to trace what's going on if I can use something like firebug.

QFT

Post Posted: April 11th, 2011, 11:10 pm

There's no link for me to see exactly what is happening, try the following two things: Make sure that the image exists on the server and that the path is correct. Download FireBug for FireFox and right-click on the body and select "Inspect" and see if that helps you out (a little debugger ...

Post Posted: April 11th, 2011, 1:25 am

What exactly is the problem that you are experiencing?

Post Posted: April 8th, 2011, 12:38 am

Bigwebmaster wrote:
PHP Code: [ Select ]
<?php
  //Output the value
  echo "$value"; //Usually extremely high if key is equal to ozzu
?>
  1. <?php
  2.   //Output the value
  3.   echo "$value"; //Usually extremely high if key is equal to ozzu
  4. ?>

nice. hehe

Post Posted: April 8th, 2011, 12:37 am

My workplace is very specific on how code should be formatted so all of us internally know what's going on because we all conform to the same standards ... When coding HTML I will use 1 space: [code=html]<div> <div> <h1>Heading</h1> <p>Paragraph</p> </div> &...

Post Posted: April 7th, 2011, 3:52 am

What they are doing there is not quite a background that stretches though ... If you look carefully you will notice that the background is tiled and 4 corners are overlayed to give the shadow effect. This should be pretty simple to do actually. Your HTML should look like follows: [code=html]....

Post Posted: February 7th, 2011, 11:07 pm

spork wrote:
Man, I can't believe there are people who have never watched any of the Doctor Who series.

Ofcourse you can, half of the population don't even own TVs ...

Post Posted: February 2nd, 2011, 7:17 am

My mod_rewrite skills are limited, but maybe this would work:

Code: [ Select ]
RewriteRule ^olddirectory/([a-zA-Z0-9_/]+)$ newdirectoy/home.html

Post Posted: January 26th, 2011, 1:48 pm

Hi there, I am working with the following table:
SQL Code: [ Select ]
CREATE TABLE `user`( `id` INT(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, `name` VARCHAR(30) NOT NULL, `country` VARCHAR(100) NOT NULL, `general_newsletter` CHAR(1) NOT NULL, `sports_newsletter` CHAR(1) NOT NULL )ENGINE=MyISAM;
Let's say...

Post Posted: January 13th, 2011, 1:31 am

I have the following tables: `data`, `data_link`, `user`, `poll` and `poll_answer`. The tables `user`, `poll` and `poll_answer` each have an `id` field which they get from the `data` table. The `data_link` table just links two `id`'s together, for instance a `poll` and it's `poll_answer`(s). so the ...

Post Posted: January 5th, 2011, 4:05 am

What is a tardis?

Post Posted: December 7th, 2010, 12:06 am

First, the video needs the parameter wmode="transparent", and then you basically need to play with the z-indexes.

Post Posted: December 7th, 2010, 12:05 am

HTML Code: [ Select ]
&quot;

Post Posted: December 6th, 2010, 2:46 am

Okay, I found my answer, was pretty simple really. here's the code:

MYSQL Code: [ Select ]
SELECT `term`, COUNT(`term`)
FROM `search`
GROUP BY `term`
  1. SELECT `term`, COUNT(`term`)
  2. FROM `search`
  3. GROUP BY `term`

Post Posted: December 6th, 2010, 2:09 am

Hi there all, I have the following table (simplified for reference):
MYSQL Code: [ Select ]
CREATE TABLE `search`( `id` INT(11) NOT NULL PRIMARY KEY REFERENCES `data`(`id`), `term` VARCHAR(255) NOT NULL, INDEX(`id`) )ENGINE=MyISAM;
let's say I have the following values in there: [code=mysql]INSERT INTO ...

Post Posted: December 3rd, 2010, 12:12 am

Then I get an internal server error. Here is my full .htaccess in the mall-admin folder: [code=htaccess]Options +FollowSymLinks RewriteEngine on #Exclude all the necessary files/folders RewriteRule ^ckeditor/.*$ - [PT] RewriteRule ^ckfinder/.*$ - [PT] RewriteRule ^templates/&...

Post Posted: December 2nd, 2010, 1:55 am

Okay, so I have quite an annoying issue and I have no idea on how to get this right. We are building a site for a local shopping centre. Unfortunately we had to use their designs so things are a bit more difficult than they should've been. The design is way too small to fit my CMS in properly (it ru...

Post Posted: November 15th, 2010, 2:29 am

Happy Happy.

Post Posted: November 10th, 2010, 4:16 am

From what I recall, PHP has no function to check when a visitor closes a page. Maybe some jQuery with an ajax call to store the time could work.

Post Posted: November 9th, 2010, 10:51 pm

spork wrote:
So it's the 9th; I haven't shaved since the 1st. I kinda look like crap.

I don't think I'll make it to the end of the month :/

I look just as crap ... I now look like some hobo-developer, and I don't think it's getting better. I should make it to the end of the month though ...

Post Posted: November 9th, 2010, 5:39 am

You aren't making sense. Please try and re-explain yourself more clearly.

Post Posted: November 3rd, 2010, 4:10 am

Why don't you rather store this log in a MySql database ... ?

Post Posted: November 3rd, 2010, 4:09 am

Tons of menus here ...

Post Posted: November 3rd, 2010, 4:08 am

I don't ever have any facial hair ... I saw this a few weeks ago and I am doing it ... First time I'm ever doing anything like this ... I'm gonna look like a total idiot with a moustache but I have to do it once, and there's no better time than now.

Post Posted: November 1st, 2010, 6:13 am

what does the table `test` look like?

Post Posted: November 1st, 2010, 5:35 am

Wait, maybe try this: http://www.w3schools.com/jsref/met_win_open.asp

Post Posted: November 1st, 2010, 5:32 am

I actually don't think that is possible ... Maybe someone else here has a solution, but I have never seen anything like this.

Post Posted: October 26th, 2010, 10:17 pm

Okay, you could also use a div and give it scrollbars to look like an iframe if you want to, using the following code:
CSS Code: [ Select ]
div#something{ width&#58;100px; height&#58;100px; overflow&#58;auto; }
As for the menu, you can always build a menu with drop-downs (or drop-ups in your case) like ...

Post Posted: October 25th, 2010, 2:20 am

Firstly, I would seriously try and avoid iframes as far as possible ... they are really bad for SEO and just seem to cause issues ... is there no way you can code the site without any iframes ... ?

Post Posted: October 25th, 2010, 2:18 am

Get yourself Firefox and Firebug ... Firebug helps me every day of my life as a web developer ...

Post Posted: October 20th, 2010, 11:28 pm

What no love for Microsoft Visual Web Developer 2010 Express? None whatsoever ... I have had experience with .net (VB) In VWDE and PHP in PHPDesigner and I have formed my opinion on both languages and applications ... VWDE is basically the same thing as PHPDesigner, the one is just for .net and the...

Post Posted: October 20th, 2010, 8:02 am

so do the following:
HTML Code: [ Select ]
<table cellpadding="0" cellspacing="0"> <tr> <td><a href="xXx.html"></a></td> </tr> </table>
[code=css]table tr td{ padding:5px; background-color:#0000ff; } table tr td a{...

Post Posted: October 20th, 2010, 6:40 am

CSS Code: [ Select ]
table tr td:hover a{
/* your style here for the a */
}
  1. table tr td:hover a{
  2. /* your style here for the a */
  3. }

Post Posted: October 20th, 2010, 4:06 am

Maybe search google for "Online Credit Card processing", just in your locale ... where I would search google and then hit "pages from South-Africa", just hit "pages from [where you are]" ... maybe that would help ...

Post Posted: October 20th, 2010, 3:56 am

Other: phpDesigner - best application I have ever used for coding.

Post Posted: October 20th, 2010, 3:55 am

yeah that's pretty simple with the ":hover" psuedo class ...

for example:
CSS Code: [ Select ]
table tr td{
background-color:#ff0000; /*blue background*/
color:#000000; /*black text*/
}
table tr td:hover{
background-color:#00ff00;/*green*/
color:#ffffff; /*white text*/
}
  1. table tr td{
  2. background-color:#ff0000; /*blue background*/
  3. color:#000000; /*black text*/
  4. }
  5. table tr td:hover{
  6. background-color:#00ff00;/*green*/
  7. color:#ffffff; /*white text*/
  8. }

Post Posted: October 14th, 2010, 5:07 am

-Is it smart to find a new company to make the site ready, or should I torment myself even more to get them to do the job 100% done? Here's the thing, taking someone else's code and "completing" it is sometimes very difficult because of different coding styles and patterns of thought. I w...

Post Posted: October 13th, 2010, 1:21 am

I've got another solution for you ... how about jQuery's tablesorter.

Post Posted: October 13th, 2010, 1:19 am

Do you maybe have a link so I can play with it in FireBug?

If you can't post links, just add spaces to it at some places and the board won't see it as a link ...

Post Posted: October 11th, 2010, 12:22 am

You might need to be a little bit more specific ... do you want to pass a variable from one page to another or do you want to pass it from one function to another or what exactly do you want to do?

Post Posted: October 1st, 2010, 12:11 am

Connecting to the database: [code=php]<?php $host = 'localhost'; $username = 'username'; $password = 'password'; $database = 'database'; $connection = mysql_connect($host,$username,$password) or die('Could not connect to the database' . mysql_error()); mysql_select_db($database,$connection); ...

Post Posted: September 30th, 2010, 11:16 pm

Does this come somewhat close ? I've looked at this when I was posting the first post, but thought I'd leave it in the Google search. Just posting it here to make sure you get to it. That's basically it, that ons is just for series ... instead of movies ... I'm a bit busy today, will do some more s...

Post Posted: September 29th, 2010, 11:24 pm

Those are more like applications ... will go through that google list aswell, have googled quite a bit on this already ... I am looking for a web-service kind of thing instead of an application ... If I can't find it it's not the end of the world, the user will just have to fill the form in themselv...

Post Posted: September 29th, 2010, 2:54 am

I am busy building a site for a Mall in our region and I'd like to know if any of you know about a site where I can get information on a movie in XML format ... The same as Yahoo!Weather, just for movies ...

Post Posted: September 27th, 2010, 1:22 am

skype use port 80, you can just change ur wamp port to 8080 Yeah, either this, or you can just go to Skype, go to "tools > options" then "advanced" then "connection" and uncheck the "Use port 80 and 443 as alternatives for incoming connections" ... then re...

Post Posted: September 27th, 2010, 12:45 am

camperjohn wrote:
Those top 5 are really vague.

QFT

Post Posted: September 23rd, 2010, 12:04 am

I think you're approaching this from the wrong angle ... Instead of submitting the form and creating a link from the post values, rather just include the correct files ... So in other words, create solution_1.html to solution_10.html files and just include them if necessary ... like so: form.html [c...

Post Posted: September 22nd, 2010, 11:36 pm

The modal I most enjoy is colorbox ...

Post Posted: September 22nd, 2010, 11:33 pm

No need for iFrames ... This solution I gave was with ajax ...

You just need to download jquery ... from the link in my previous post ...

Post Posted: September 22nd, 2010, 12:45 am

I agree that if that is the only thing you are going to use it for, jQuery is overkill, but I use it in every site I build for quite a few things ... Rotating header images, popup calendars on date fields, colorbox, uploading of images, etc ...

Post Posted: September 21st, 2010, 11:43 pm

you need to replace the following:

PHP Code: [ Select ]
isset($_POST[checkname[0]])


with the following:

PHP Code: [ Select ]
isset($_POST['check_name'][0])

Post Posted: September 21st, 2010, 11:40 pm

Or maybe use jQuery to add the span for you?

JAVASCRIPT Code: [ Select ]
$(document).ready(function(){
  $('del').each(function(){
    $(this).html('<span>' + $(this).html(). '</span>');
  });
});
  1. $(document).ready(function(){
  2.   $('del').each(function(){
  3.     $(this).html('<span>' + $(this).html(). '</span>');
  4.   });
  5. });

Post Posted: September 21st, 2010, 2:10 am

Two solutions come to mind ... iFrames and AJAX . I would suggest ajax though ... Here is how to achieve what you need in ajax (using jQuery ): [code]<html> <head> <title>AJAX Test</title> <script type="text/javascript" src="/javascript/jquery.js"&g...

Post Posted: September 16th, 2010, 11:34 pm

Do you have a link so I can try it out?

Post Posted: September 16th, 2010, 11:31 pm

Okay, I don't actually have an answer for you on what is going wrong ... To help you out, do the following ... DOwnload IE8 ... In IE8 you can still view the website as it would have looked in IE7 ... then also, you have access to "Developer Tools" (By pressing F12) ... it's similar to Fir...

Post Posted: September 15th, 2010, 7:14 am

I love that editor. I first started using it when it was completely free lol However, I always ran into problems which made me stop using it :( I would get crazy little errors (while typing such as putting double dollar signs in front of varibles randomly and other strange things) when typing after...

Post Posted: September 15th, 2010, 1:16 am

The best application I have come accross so far is PHP Designer ... It's seriously cool ...

Post Posted: September 10th, 2010, 12:44 am

I have alread7y replaced it for you ... You can also show the error more cleverly ... for that I will need to see your login page's code though so I can show you where to change it ... [code=php]<?php session_start(); $link = mysql_connect('localhost','root') or die('Connection Failed'); mysql_se...

Post Posted: September 10th, 2010, 12:22 am

That's where you're incorrect sir ... you don't need the javascript at all ... I have replaced your javascript with the PHP equivalent ... For example:
JAVASCRIPT Code: [ Select ]
<script type="text/javascript"> document&#46;location = '/index.php'; </script>
is the same as: [c...

Post Posted: September 10th, 2010, 12:05 am

Try the following, I cleaned up your code for you a bit ... Quite a bit, just read my comment so you can replace it with the correct value. [code=php]<?php session_start(); $link = mysql_connect('localhost','root') or die('Connection Failed'); mysql_select_db('customer',$link) or die('Could not c...

Post Posted: September 9th, 2010, 5:18 am

I don't see any ... where on the website is it?

Post Posted: September 7th, 2010, 11:35 pm

*righteous_trespasser ...

All good, I don't even know what Namazu is, I just found that on their site ... If you want this search for your own website, why don't you code one?

Post Posted: September 7th, 2010, 2:48 am

if you don't know how many $_POST['home'] items there will be in that array, you can use a foreach loop to loop through them, as follows:

PHP Code: [ Select ]
<?php
  foreach($_POST['home'] as $key=>$value){
    //do something here
  }
?>
  1. <?php
  2.   foreach($_POST['home'] as $key=>$value){
  3.     //do something here
  4.   }
  5. ?>

Post Posted: September 7th, 2010, 2:45 am

Is this it?

Post Posted: September 3rd, 2010, 2:19 am

I don't see where you have hilighted the issue ... Anyhow, that is not the end of the world. I suggest you take a look at jQuery ... that could help you out a lot.

Post Posted: September 2nd, 2010, 1:40 am

Bloody GangBang wrote:
nokia is gone to become *plum*

Is this just your opinion or do you have a reference to back up your statement?

Post Posted: September 1st, 2010, 4:57 am

How about the Nokia N900?

Post Posted: August 31st, 2010, 6:47 am

Maybe have a look at this first ...

Post Posted: August 31st, 2010, 6:00 am

Okay how about this:

JAVASCRIPT Code: [ Select ]
javascript&#058; Popuup("Hello my name is 'R_T'", null, null, null, null);

Post Posted: August 25th, 2010, 5:33 am

http://dctest.weber.edu/custompages/ucui/indextest.php ... Firefox can't find the server at dctest.weber.edu. ... ?

Post Posted: August 25th, 2010, 3:53 am

A few notes on this: 1. It would be better to combine your queries into one query to take a bit of strain off the MySql server and make this a little faster, for example: A:
SQL Code: [ Select ]
INSERT INTO `table`(id,name) VALUES(NULL,'R_T'),(NULL,'elrayyes'),(NULL,'Something');
will be faster than B: ...

Post Posted: August 25th, 2010, 3:26 am

to show a single quote in a string that is enclosed by single quotes you can escape it with the slash "\" ... Something like this:

PHP Code: [ Select ]
$test = 'Hello my my name is \'R_T\'.';


Which will echo: Hello my name is 'R_T'.

Post Posted: August 3rd, 2010, 11:55 pm

This won't happen with CSS alone unfortunately. For this you'd need some javascript (jQuery preferably) ... This will change your code a bit though, would you like help with this?

Post Posted: August 2nd, 2010, 5:05 am

lol ... Excellent find.

Post Posted: July 29th, 2010, 6:02 am

I have no idea what you are saying, but maybe this will help ...

Post Posted: July 26th, 2010, 6:16 am

http://www.clickatell.com

Post Posted: July 22nd, 2010, 6:24 am

I usually use this ... it is for emails though ...

Post Posted: July 22nd, 2010, 4:17 am

so basically the strtotime() function must be a default to the date() function's second parameter? So if I have the following:
PHP Code: [ Select ]
echo date("Y-m-d G:i:s","2010-05-06");
PHP must convert that to: [code=php]echo date("Y-m-d G:i:s",strtotime(&...

Post Posted: July 21st, 2010, 6:50 am

works like a charm ... Why does this happen though? if I include a file shouldn't it also read the variables from the file that is including it ... ?

Post Posted: July 21st, 2010, 6:39 am

Here's the function, nothing happens to the $me variable inside this. [code=php]public static function load_module($module,$action,$module_url = null){ if(file_exists("modules/{$module}/" . WEBSITE_THEME . "/{$action}.php")){ include("modules/{$module}/" ...

Post Posted: July 21st, 2010, 5:49 am

So here's what's going on, I have a file (index.php) which is just a page that I use for including the template for my custom CMS. This index.php file builds all the variables for the template file ($title,$content,$me(logged in user),etc). At the end of this file I include my template (/templates/t...

Post Posted: July 21st, 2010, 12:13 am

PHP Code: [ Select ]
<?php echo date("Y-m-d G:i:s O",strtotime($date_string)); ?>


I can't put the letter "T" in there as that is used for something else (Timezone abbreviation)

Post Posted: July 20th, 2010, 5:24 am

Have you already downloaded a chat application?

Post Posted: July 20th, 2010, 5:17 am

Centurion is my hometown ...

Post Posted: July 7th, 2010, 12:16 am

Hi everyone, I am trying to create a class in PHP that is going to be inherited... The class contains a constructor that I need to call in both classes but I need a way to only run part of the construct once, i.e. run in the parent but not run when the class is extended by a child class...?? [code]...

Post Posted: July 7th, 2010, 12:13 am

You don't actually need javascript for that, drop down menus can be created with CSS, like follows: *Please note: This is coded out of my head so it might need some tweaking. [code=html]<div id='menu'> <ul> <li><a href='#'>Home</a></li> <li>Services <ul&g...

Post Posted: July 7th, 2010, 12:04 am

Firstly, when I want to create emails I always reference to this ...

Are these table cells a height that you know or do they vary in height?

Post Posted: July 2nd, 2010, 12:33 am

Why not build your own forms?

Post Posted: July 1st, 2010, 7:26 am

Don2007 wrote:
Not so good, I froze my butt.

In a time capsule? Like Austin Powers?

Post Posted: June 30th, 2010, 5:27 am

on my wamp the script wrote:
$i % 2: 0.27078700065613 | total: 500000
$j & 1: 0.24281907081604 | total: 500000
$k << 31: 0.25018215179443 | total: 500000

Post Posted: June 30th, 2010, 1:55 am

Okay, maybe not completely. I just checked this a little further. If I finish "Blog", "User", "Load Modules", "Load Content", "Find Images" and "Sign Off", then I should be left with "Design" and "Develop". I am however ...

Post Posted: June 29th, 2010, 11:15 pm

Excellent. Thanks joebert, thanks SpooF. Resolved.

Post Posted: June 29th, 2010, 7:47 am

SpooF wrote:
The child node values for left and right will always be between the parent left and right, correct?

Yes, I got the example from here.

Post Posted: June 29th, 2010, 7:36 am

Sure, here is the code: [code=mysql]CREATE TABLE task( id INT(11) PRIMARY KEY NOT NULL REFERENCES `data`(id), name VARCHAR(255) NOT NULL, description TEXT NULL, start_date DATETIME NULL, end_date DATETIME NULL, lft INT(11) NOT NULL, rgt INT(11) NOT NULL ) ENGINE=InnoDB; CREATE TABLE `data`( id INT(1...

Post Posted: June 29th, 2010, 7:09 am

maybe you should look at jQuery ...

Post Posted: June 29th, 2010, 7:07 am

I have the following table:
MYSQL Code: [ Select ]
CREATE TABLE task( id INT(11) PRIMARY KEY NOT NULL REFERENCES `data`(id), name VARCHAR(255) NOT NULL, description TEXT NULL, start_date DATETIME NULL, end_date DATETIME NULL, lft INT(11) NOT NULL, rgt INT(11) NOT NULL ) ENGINE=InnoDB;
and with this tabl...

Post Posted: June 28th, 2010, 7:18 am

If you're not sure where to start, maybe having a look at jQuery won't hurt. Using jQuery's ajax is pretty simple.

Post Posted: June 28th, 2010, 7:14 am

Same here ... I switched from XAMP to WAMP ... with WAMP there are still a few things that you'd need to do before just viewing your site, but I could do it with some googling easily.

Post Posted: June 28th, 2010, 7:09 am

There are a few ways you could do this. Generate a random 4 digit number and check it against a database of currently generated numbers. If it already exists generate a new one and check again. Create a table of all 4 digit numbers (4^10) run a query to select a single number at random. Then mark t...

Post Posted: June 23rd, 2010, 3:52 am

HTML Code: [ Select ]
<p>You're a YouTube Video.</p>

No, I'm joking ...

Do you want to display a YouTube video on your website?

Post Posted: June 15th, 2010, 6:14 am

Okay I'll try that. I'm assuming that'll give me more information on where it is failing ...

Post Posted: June 15th, 2010, 3:26 am

A few months ago my friend brought over a Sabayon CD to my house so we installed it on my PC. It has all been running smoothly for the entire time it has been installed untill last week. I turned on my PC and my screen didn't go on. So I went through a helluva mission to find out what it was, I stil...

Post Posted: June 15th, 2010, 3:20 am

I live in the host country ... So I'll go with SA ... Gotta tell you, that opening match was absolute madness here in SA ... I was going to a FanPark (big field with a HUGE screen), which is free and when I got there (after walking very far because there was no parking anywhere close) they told me a...

Post Posted: June 10th, 2010, 1:18 am

The computer hard drives f large capacity are mostly used for good purposes like keeping movies,music,educational materials. A very few people use them for illegal tasks. I don't agree ... you're contradicting yourself actually. Most of these movies etc are pirated. Just look at http://www.btjunkie...

Post Posted: June 8th, 2010, 11:32 pm

You can't put a div in the <head></head> section, you need to move that div to the <body></body> section.

Post Posted: June 7th, 2010, 11:54 pm

No you do not have to preload both because the first one "background.jpg" will be loaded automatically. The second image however will only start loading once you hover, thus we preload it ...

Post Posted: June 6th, 2010, 11:30 pm

Okay, but you can use CSS to swap the images aswell, here's an example: [code]div.hovereffect{ background-image:url(/images/background.jpg); width:100px; height:100px; } div.hovereffect:hover{ background-image:url(/images/background_hover.jpg); } div.hidden{ d...

Post Posted: May 27th, 2010, 7:59 am

Unfortunately I cannot say what is going wrong there without seeing it ... Maybe you can post some code or put the site somewhere temporary live ...

Post Posted: May 27th, 2010, 7:23 am

what does the JS do if it is a CSS list?

Post Posted: May 27th, 2010, 6:25 am

How did you create the site? I know with photoshop's "Save for Web" it does that if you have rollovers, and I think that also happens when Dreamweaver creates rollovers it does that ...

Post Posted: May 27th, 2010, 1:49 am

No, he is referring to IE8's compatability mode that runs the site as IE7 ...

Post Posted: May 27th, 2010, 12:14 am

it depends what causes that ... Do you have a link to the site for us?

Post Posted: May 21st, 2010, 5:53 am

It looks fine for me in IE8 and IE8 with compatability mode ...

Post Posted: May 20th, 2010, 3:12 am

Adobe Flash.

Post Posted: May 19th, 2010, 3:37 am

why don't you just open the word document and save it as a web page. Try this.

Post Posted: May 18th, 2010, 8:28 am

I don't quite understand what you want? Do you want a php script that will convert a .doc file into a .html file?

Post Posted: May 18th, 2010, 2:03 am

Glad you got it sorted, IE is always a bitch.

Post Posted: May 14th, 2010, 7:33 am

@tastysite - that is not the function of this sentence, it is not intended as dummy-text for websites, it is intended for font previews. So when previewing a font, you can read a sentence which contains each alphabet character.

Post Posted: May 14th, 2010, 6:18 am

I do these quite differently to you ... here's how I usually tackle this: HTML [code="html"]<div id='menu'> <ul> <li><a href='#'>News</a> <ul> <li><a href='#'>Article One</a></li> <li><a href='#'>Article Two</a>&...

Post Posted: May 13th, 2010, 11:36 pm

Nice Carl, I thought "webdevelopment" meant spoken languge. Nice one.

Post Posted: May 13th, 2010, 6:29 am

webdevelopment wrote:
How we css code in other languages?

What do you mean by that? Do you want to use another language in your css file? If so, you can't.

Post Posted: May 13th, 2010, 5:36 am

Can you be a little bit more specific when you say that it's not working. Do you receive any errors?

Also, where are you testing this?

Post Posted: May 13th, 2010, 3:34 am

How do these tables look, are they connected in some way? The excel document attached makes absolutely no sense to me ... Just give a better explanation of what you're trying to accomplish. It's difficult to see the desired output and then just make it happen without seeing what you have to work wit...

Post Posted: May 13th, 2010, 3:27 am

Is this on a site that you have created ... ? If so, you need to create an .htaccess file with the following inside it ...
Code: [ Select ]
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)$ $1.php
  1. Options +FollowSymLinks
  2. RewriteEngine on
  3. RewriteRule ^(.*)$ $1.php

Post Posted: May 13th, 2010, 3:23 am

sephirajean wrote:
Well i think its cool for typing

Did you seriously register just to say that ... ?

Post Posted: May 11th, 2010, 11:35 pm

joebert wrote:
Google has a product called Google Site Search, which may be what RT was talking about when he said Google. :D
http://www.google.com/sitesearch/

Yes it is ...

Post Posted: May 11th, 2010, 11:33 pm

Well, when I say IE7, I actually mean IE8 with compatability mode enabled, which is supposed to respond like IE7 would ... Maybe someone with IE7 can just confirm ... I went to the Internet Options and see ActiveX stuff are enabled so I don't know what's wrong. This has nothing to do with ActiveX th...

Post Posted: May 11th, 2010, 3:01 am

it doesn't look like it ... you can just copy that code into the correct files and then you'll be off ... it's gonna be quick.

Post Posted: May 11th, 2010, 1:51 am

Yes, look at the tutorial ... everything you need should be in there ...

Post Posted: May 11th, 2010, 1:42 am

Don't forget about TinEye ...

Post Posted: May 11th, 2010, 1:38 am

Google, or you can build one. Those will be your best two options imo.

Post Posted: May 11th, 2010, 12:37 am

I have no idea ... I don't develop for IE6 anymore ... I went and checked your site in IE8, and it works, I also checked it in compatibility mode for IE7 and that works too ... Maybe your IETester has javascript disabled?

Post Posted: May 10th, 2010, 3:00 am

mywork08 wrote:
always real name

So your real name is "mywork08" ... I don't think so ...

Post Posted: May 4th, 2010, 1:15 am

It all depends I guess, are you using a CMS like joomla, wordpress or drupal? these will all have RSS features as installable "modules" ... if not, you will have to write the RSS feed yourself ... I think if a owner of a website has content that is constantly changing, then yes I would hav...

Post Posted: May 4th, 2010, 1:09 am

Firstly, why do you want to do that? It's so open then that anyone with a web browser and internet access can just go view what's in those folders. Did you even try google?

Post Posted: May 3rd, 2010, 7:36 am

the only thing that you can do is the following:
CSS Code: [ Select ]
body{
font-family:arial,helvetica;
font-size:12px;
}
  1. body{
  2. font-family:arial,helvetica;
  3. font-size:12px;
  4. }

This will make the font default to Arial 12px, but if a user changes the font manually in their browser settings (which most don't), it will stay like that.

Post Posted: April 30th, 2010, 3:53 am

I use jQuery for these kind of things ... it's way easier to get it going. I can show you how I would do it in jQuery if you'd like ... ?

Post Posted: April 30th, 2010, 3:51 am

The word you are looking for is "modal" ... Lightbox is a type of modal ... Each modal script that I have seen so far comes with it's own stylesheet that you can edit all you want ... I use colorbox. Do you want to edit the way that the modal looks, or do you want to edit how the content i...

Post Posted: April 28th, 2010, 3:32 am

<TABLE> <TR> <TD ROWSPAN="2"> <IMG SRC="pics/image.jpg" width="575" height="???"> </TD> </TR> <TR> <TD> headline </TD> <TD> here is the content. </TD> </TR> </TABLE> This will not w...

Post Posted: April 22nd, 2010, 11:48 pm

When I was updating my signature just now and I pressed "Submit" I got a popup saying the following ... Are you sure you want to navigate away from this page? You have typed in the posting box and have not submitted your post yet. If you continue, any text you typed will not be saved. Pres...

Post Posted: April 22nd, 2010, 11:41 pm

that's quite a tough one ... I think what you gotta do then is firstly, explode the string, seperated by spaces, and then do the query ... something like the following ... [code="php"]<?php $search_words = explode(" ",$searchTermDB); $sql_select = "SELECT * FROM contacts ...

Post Posted: April 22nd, 2010, 7:14 am

PHP Code: [ Select ]
$sql = "SELECT * FROM contacts WHERE 1 ";
$sql .= ($first_name != "") ? "AND FirstName LIKE '%{$first_name}%'" : "";
$sql .= ($last_name != "") ? "AND LastName LIKE '%{$last_name}%'" : "";
  1. $sql = "SELECT * FROM contacts WHERE 1 ";
  2. $sql .= ($first_name != "") ? "AND FirstName LIKE '%{$first_name}%'" : "";
  3. $sql .= ($last_name != "") ? "AND LastName LIKE '%{$last_name}%'" : "";

etc ...

Post Posted: April 19th, 2010, 4:40 am

I would suggest not to do that, rather build something that is cross-browser compatible ... it is possible. It will save you a LOT of hassles later ...

Post Posted: April 15th, 2010, 6:58 am

This is my result on my second try ... I was red, and we could've gone further if it weren't for the yellow peron ... really kewl game though.
Attachments:
swedish.png

Post Posted: April 15th, 2010, 3:35 am

Okay here it is ... http://cms.clearmark-demo.co.za/ ... to log in, scroll to the bottom of the page and press "Login" ... Username: demo Password: demo Once you are logged in, you will see a toolbar at the top of the page, and you will also see toolbars on article pages etc to do various ...

Post Posted: April 15th, 2010, 2:42 am

grinch2171 wrote:
righteous_trespasser wrote:
I have thus started (basically finished) the first beta of my own CMS.


Care to share? I'd like to check it out.

Sure, I'll set up a test subdomain somewhere soon, and then you can check it out ...

Post Posted: April 14th, 2010, 7:55 am

Also remeber, sometimes error reporting may be turned off (had a bad experience with this when I was just startig to learn PHP), to enable error reporting in PHP you can add the following line of code to the top of your script:
PHP Code: [ Select ]
<?php error_reporting(E_ALL); ?>
...

Post Posted: April 14th, 2010, 7:15 am

let's say your URL is mywebsite.com?product=101, you would then do something like the following to get the 101 from that URL:

Code: [ Select ]
Dim product as String = Request.QueryString("product")

Post Posted: April 14th, 2010, 12:37 am

joebert wrote:
stars.png

LOL @ mutant beavers.

Post Posted: April 14th, 2010, 12:33 am

That's a very specific way of doing it, let's say you don't know what the size of the div is going to be. You caan then do the following:
CSS Code: [ Select ]
div.hovereffect{ background-color:#555555; } div.hovereffect:hover{ background-color:#666666; }
That way you don't use images (page l...

Post Posted: April 13th, 2010, 3:20 am

I have built a website using Drupal before, it's a great and open CMS, but it seems like it is a bit too difficult for standard users to understand. I have also built two websites using joomla, and I must honestly say that I am NOT a fan, it is confusing to use and their support forums are useless, ...

Post Posted: April 12th, 2010, 7:54 am

Someone's been watching too much Twilight ...

Post Posted: March 24th, 2010, 11:43 pm

God is the king of kings ... I am just a web-developer ... but I am glad you figured out what you needed to ... It's my pleasure for helping ...

Post Posted: March 24th, 2010, 5:52 am

Cool stuff ... anyhow, did you come right ... ?

Post Posted: March 24th, 2010, 5:24 am

Well, look at what the error is telling you ... Have you checked line 14 ... ? If you have, you will see that the code on that line is:
PHP Code: [ Select ]
$result1 = $obj_db->select($sql);
It tells you that you are trying to use the variable $obj_db as an object, but it has not been dec...

Post Posted: March 24th, 2010, 3:14 am

I don't even know why you check that ... but something like this might work ...
Code: [ Select ]
if (preg_match ("/^([a-zA-Z0-9.,-]+)$/", $blast)){
 $blast = "true";
  1. if (preg_match ("/^([a-zA-Z0-9.,-]+)$/", $blast)){
  2.  $blast = "true";

Post Posted: March 24th, 2010, 2:49 am

Oh wait ... obviously ... just remove the following lines of code from tag_det.inc.php ...
Code: [ Select ]
if (!is_numeric ($_REQUEST['tag_dash']))
{
die();
}
  1. if (!is_numeric ($_REQUEST['tag_dash']))
  2. {
  3. die();
  4. }

Post Posted: March 24th, 2010, 2:08 am

"tag_dash" is a GET variable - it should be part of your url ... What URL are you at when you get these errors?

Post Posted: March 24th, 2010, 2:02 am

and, did you get any errors?

Post Posted: March 24th, 2010, 1:55 am

on the top of that page add the following (just for debugging):
Code: [ Select ]
<?php error_reporting(E_ALL); ?>

and then see if you get any php errors ...

Post Posted: March 24th, 2010, 1:19 am

I am looking at it and I don't quite get what is going on in those files ... What are they supposed to do?

And what EXACTLY is the issue you are having ... ?

Post Posted: March 24th, 2010, 12:50 am

what do you mean that the forum doesn't allow links? I thought that was only for the first ten or so posts ... ?

Post Posted: March 23rd, 2010, 7:48 am

Well the whole idea behind ozzu is for people to have their questions answered by other people ... it is nice to see examples as I am looking through forum posts so I can implement these examples on my site ... You can however send me a PM (Private Message) ... I am leaving work now and my internet ...

Post Posted: March 23rd, 2010, 7:33 am

It's kinda tough for me to say ... do you have code you can show me ... ?

Post Posted: March 23rd, 2010, 7:18 am

What language are you using at the moment to fetch data from the database?

Post Posted: March 23rd, 2010, 7:13 am

try the following:
Code: [ Select ]
RewriteRule ^tag/(.*)\.html$ tagdetail.php?tagdash=$1 [L,QSA]

Post Posted: March 17th, 2010, 5:05 am

Then I started wondering whether it might be time to rethink the need for multiple cron jobs and just rewriting the current system to use one cron job for a dynamic number of sites. That makes a lot of sense ... I think I might rather look into something like this. That way I don't have to worry ab...

Post Posted: March 17th, 2010, 1:02 am

Is there a way with PHP to set up a cron job without actually going in to cPanel and setting it up there ... basically I am writing a mailer/newsletter module and I'd like to have a setup for it where it automatically sets up a cron job instead of having to do it for every website I build. for all t...

Post Posted: February 25th, 2010, 11:53 pm

Okay cool, now I get why you're using the function, that makes a lot of sense ... @confuzzled1234 - The only issue with your query is that some values tht go into a database need to have quotation marks around them because it is a string value. This counts for quite a few column types for example: V...

Post Posted: February 25th, 2010, 7:19 am

Yeah it does ... let's say I have the following: somefile.php
Code: [ Select ]
<p> <?php $foo = "bar"; echo $foo; ?> </p>
index.php [code]<?php ob_start(); $action_file = "somefile.php"; include($action_file); $content = ob_get_contents(); ob_end_clean(); $te...

Post Posted: February 25th, 2010, 5:48 am

[code] function inject_protect($value) { $v = mysql_real_escape_string($value); return $v; } $product = inject_protect($_POST['Product']); $description = inject_protect($_POST['Description']); $itemwanted = inject_protect($_POST['Itemwanted']); $sid = inject_protect($_SESSIO...

Post Posted: February 25th, 2010, 2:30 am

I think I figured it out ... there we go ... all I needed to do is use an output buffer, the code then looks something as follows.
PHP Code: [ Select ]
ob_start();
  include($action_file);
  $content = ob_get_contents();
ob_end_clean();
include($template_file);
  1. ob_start();
  2.   include($action_file);
  3.   $content = ob_get_contents();
  4. ob_end_clean();
  5. include($template_file);

Post Posted: February 25th, 2010, 2:13 am

I am quite stuck here. I am starting to build my own simple CMS with templating. I would like to do it very much the way drupal does it in the way that on the actual template file I can just have some variables available like $url, $title etc. The issue I have is with the variable $content which wou...

Post Posted: February 15th, 2010, 7:16 am

Do you want to do this every day or is this a once-off thing?

If it is a once-off thing, I think "mysqldump" will be your best answer. This must be run from the command-line so it can't be done through PHP as I understand, I could be wrong though.

Post Posted: February 15th, 2010, 7:09 am

There is a comma behind the last array element which there shouldn't be ... Remove that and see if it works then ... So instead of this:
Code: [ Select ]
var bannerlist = ['Banner1','Banner2','Banner3','Banner4','Banner5','Banner6',];
use this: [code]var bannerlist = ['Banner1','Banner2','Ba...

Post Posted: February 15th, 2010, 6:45 am

I know exactly where you're coming from. Apart from that, I have also learnt a few other things. For example, if the client I am working with tells me that they were at another developer and he/she could not do the job as he/she had expected I tell them that I do not want to help them. Not because I...

Post Posted: January 13th, 2010, 3:39 pm

kc0tma wrote:
How about instead of a or an Hawaiian party, he could just call it THE Hawaiian party. Of the century. Be there, or be square.

Problem solved ...

Post Posted: January 11th, 2010, 1:17 am

Having been there twice, I can assure you Somoan natives pronounce the 'H' as well. That makes 'a' the correct choice here. I hear what you're saying ... but I have been listening to the people around me speak, and even though they think they do, they do not pronounce the H. So for me here in SA it...

Post Posted: January 9th, 2010, 7:24 am

By the way, its nice to see you're alive R_T! I figured you were probably drunk and passed out in a gutter all these months. I have been pretty drinked and *cough* smoked up the last while ... I actually bought two foosball tables and have been spending a lot of time on that aswell ... I've become ...

Post Posted: January 8th, 2010, 11:25 am

Interesting question - would it be "a hawaiian party" or "an hawaiian party" ... we're writing an invite and we're not sure ...

Post Posted: December 17th, 2009, 3:48 pm

Okay cool, thanks for all the input. Resolved.

Post Posted: December 17th, 2009, 2:34 pm

Oh okay cool, that makes sense ... Why do you say eval is evil?

Post Posted: December 17th, 2009, 5:09 am

I have a bit of an issue with the "eval()" function ... I want to set a variable equal to a eval'd php page ... my code looks like this: index.php [code="php"]<?php $replace = array("<?php","?>"); $_GET["action"] = "create"; $conte...

Post Posted: December 11th, 2009, 1:16 am

Hahaha, okay, nevermind, I figured it out, the correct code doesn't need that first slash there. It should be as follows: [code=apache]RewriteRule ^(.*)/(.*)/update$ create.php?table=$1&data=$2&action=update [L] RewriteRule ^(.*)/create$ create.php?table=$1&ac...

Post Posted: December 11th, 2009, 1:13 am

I still have no idea how the hell mod rewrite works, I have the following code: [code=apache]Options +FollowSymLinks RewriteEngine on RewriteRule ^/(.*)/(.*)/update$ create.php?table=$1&data=$2&action=update [L] RewriteRule ^/(.*)/create$ create.php?table=$1&a...

Post Posted: December 2nd, 2009, 1:08 am

I know it sounds silly, but that would help eliminate all these really short one line replies. I haven't really thought of how implementing it could work, but I'm sure it'll help taking out these one liners.

Post Posted: November 17th, 2009, 5:48 am

I have FF3.5, I am logged in, I see that aswell, I must admit that in the beginning it confused me quite a bit ...

Post Posted: November 17th, 2009, 5:45 am

Cool, just installed YSlow... and I must say it's superbly helpful so-far.

Post Posted: November 10th, 2009, 1:15 am

[code].text { display:block; height:400px; background:#c0c0c0; width:600px; margin-top:35px; padding-left:0px; border-top:1px solid #000; border-left:1px solid #000; border-right:1px solid #fff; border-bottom:1px solid #fff; -webkit-border-top-left-radius&...

Post Posted: November 10th, 2009, 12:49 am

What do you need help with? Please be more specific.

Post Posted: November 9th, 2009, 3:02 am

I use the following class to resize my images ... I just have a tweaked one lying around here somewhere to suit my needs more specifically ... it works really well though ... http://www.white-hat-web-design.co.uk/a ... sizing.php

Post Posted: November 9th, 2009, 2:55 am

I don't know if this will make a difference, but it's worth a try ... where you declare the variables like:
PHP Code: [ Select ]
$name = $_POST ['name'];

try it without the space like this:
PHP Code: [ Select ]
$name = $_POST['name'];

See if that make's a difference first.

Post Posted: November 9th, 2009, 2:50 am

I have done this before ... not with cars, but something similar ... I used jQuery's ajax calls to call in data from a database dynamically into a form ... http://www.jquery.com

Post Posted: November 4th, 2009, 12:46 am

I tested the following three browsers:

Firefox 3.5.4 = 1989
Chrome 3.0.195.97 = 3441
IE8 = 798

My system:
Windows Vista Enterprise
Intel Core2Duo T9300
ATI mobility Radeon HD2600

Post Posted: November 4th, 2009, 12:24 am

Yeah, the funny thing is, these mails were getting sent off our dedicated server at work ... our email addresses on ther domains on the same server were getting it fine, but then even yahoo and hotmail were receiving the mails just fine, but the client wasn't receiving the mails. It's a really stran...

Post Posted: November 3rd, 2009, 2:34 am

That's a very cool chart ... I'll do those tests on my own machine though just to see the differences for me personally. Because tests like these are rather accurate, but per-machine settings change a lot of things.

Post Posted: November 3rd, 2009, 2:13 am

Yes it would be really awesome ... That makes me think a bit of jQuery's way of doing things ... this is just a lot neater jQuery would be:
Code: [ Select ]
$("#id").click(function(){ /* lots of stuff */ });
a function where the result is another function (if that's understandable) ...

Post Posted: November 3rd, 2009, 2:09 am

Sorry that I wasted your time guys ... I forgot to add the semi-colon after each of the lines ... What a daft moment ... Thanks anyway guys.

Post Posted: November 2nd, 2009, 2:22 pm

Yeah joebert I hear you. What really sucks is that my client doesn't ... These people have absolutely no understanding of the internet. It's difficult for me to try and get it through to them that it just isn't that simple. hehe. @atno: Thanks for the link, I can't view that page (RFC) but I found i...

Post Posted: November 2nd, 2009, 10:32 am

I have the following mail headers: [code]$headers = "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\n"; $headers .= "X-mailer: php\n"; $headers .= "From: \"{$from_name}\" <{$from_email}>...

Post Posted: October 30th, 2009, 3:04 am

Yeah, the tables all do support transactions. Thanks for the link, that looks very impressive. I think I am going to see how I can implement that.

Post Posted: October 29th, 2009, 8:14 am

Hi, long time no see ... I have been really busy the last while, don't even have time to breathe properly. Anyhow, I don't quite understand MySql rollbacks properly, so here is my question: I have something like the following: [code]include_once("class.data.php"); include_once(&quo...

Post Posted: July 8th, 2009, 1:15 am

Okay I am going to try again, I am not winning with this. My folder structure is still as it is in the post above, and my .htaccess file looks like follows: [code]RewriteEngine On RewriteRule ^([a-zA-Z0-9])/([a-zA-Z0-9])/([a-zA-Z0-9])\.html$ $1/$2\.php?data=$3 [L,QSA] RewriteRule ^([a-zA-Z0-9])/([a-...

Post Posted: June 29th, 2009, 1:14 am

Okay, there's more than that wrong, oh my, let me quickly explain what I have done and what I'd like to achieve, and maybe it would make more sense then ... I have the following folder structure: ⋅ index.php ⋅ member(Folder) ⋅ add.php ⋅ view.php ⋅ de...

Post Posted: June 29th, 2009, 12:56 am

oh and obviously the .bong extension won't exist for you, this is a local demo-site ...

Post Posted: June 29th, 2009, 12:55 am

Unfortunately still exactly the same result ... so at this moment I am looking at http://nmc.bong/member/view/3.html and I have the following rewriterule:
Code: [ Select ]
RewriteRule ^([a-zA-Z0-9])/([a-zA-Z0-9])/([a-zA-Z0-9])\.html$ $1/$2.php?data=$3 [L,QSA]
and still I am getting the following when pr...

Post Posted: June 29th, 2009, 12:25 am

Okay I have another issue, with the following line:
Code: [ Select ]
RewriteRule ^([a-zA-Z0-9])/([a-zA-Z0-9])/([a-zA-Z0-9])\.html$ $1/$2.php?data=$3 [L]

when I print ou my GET variables using pre tags I get the following:
Code: [ Select ]
Array
(
)
  1. Array
  2. (
  3. )

Why would this happen?

Post Posted: June 28th, 2009, 11:40 pm

Thanks a million. I'm not sure how I forgot that ... hehe ... thanks ... both of your inputs put me on the right track together ... WooT!

Post Posted: June 26th, 2009, 2:11 am

I am having trouble with my .htaccess file and rewriting ... this shouldn't be too tough, I am just really no good at it. I have the following .htaccess file [code]RewriteEngine On RewriteRule ^(.*)/(.*)/(.*).html$ $1/$2.php?data=$3 [L] RewriteRule ^(.*)/(.*).html$ $1/$2.php [L] RewriteRule ^(.*).ht...

Post Posted: May 24th, 2009, 11:27 pm

Hi, just go to the Yahoo Weather Home Page and in that list, find the region you are looking for and you'll see in the url is that region's unique code which you just have to enter into the request URL ... So let's say I am looking for all the region's in South-Africa I will go to this page and just...

Post Posted: May 21st, 2009, 11:35 pm

I can't really see why that would give you an error, that's not something that's just supposed to give an error. It might be because you don't have the "domxml" extension installed for PHP ...

Post Posted: May 5th, 2009, 11:21 pm

Happy B-Day, so by the way Jameson

Post Posted: May 5th, 2009, 11:21 pm

I am here, I am just really busy these days ... that's all ... I wish I had more time for ozzu ... it's fun here ...

Post Posted: April 15th, 2009, 6:36 am

I am a jQuery fanboy, the one thing I did see that I liked a lot was this: http://stickmanlabs.com/lightwindow/index.html , which is written with the help of scriptaculous and prototype ... haven't found an alternative in jQuery yet ...

Post Posted: April 15th, 2009, 5:00 am

No lindsay, Windows 7 is nothing like Vista ... really, it's a great improvement ...

Post Posted: April 14th, 2009, 10:42 pm

So far it's really that good. It's due to be releases early 2010 as I understand ...

Post Posted: April 14th, 2009, 7:51 am

I guess two rocks beat one ... ?

Post Posted: April 14th, 2009, 5:31 am

Image

Post Posted: April 14th, 2009, 2:18 am

Okay so I have installed it, and here is my little review: The first thing I saw was the new start-bar, and other to what Grinch said, there actually is a quick launch bar, it just works a little different, Right click on an open application, and click "Pin to taskbar" which then pins the ...

Post Posted: April 12th, 2009, 8:29 am

That is absolutely awesome, I love how easily it works ... and how it just works ...

Post Posted: April 8th, 2009, 10:55 am

spork wrote:
@R_T: Holy crap that sucks. Is all of S.A. on the same provider?

Yeah, we have only one line service provider (Telkom), so they can do what they want ...

Post Posted: April 6th, 2009, 11:24 pm

Yeah, I have the fastest internet line our country has commercially available ... 4mbps ... and let me clarify, 4 mega bits per second and not 4 megabytes per second ... which means my maximum download speed is 460kbps ... on a great day when no one else is using the internet ... When lots of people...

Post Posted: April 6th, 2009, 3:23 pm

That's really kewl ... Remins me of an ad almost like that where the people start shooting at each other with their fingers in the station.

Post Posted: April 6th, 2009, 3:21 pm

The problem is that cigarettes don't cost the same at every shop ... It doesn't have a fixed price like gas (petrol), so you'll have to track it per brand per shop. In USA Gas costs different per state (Between some states as far as I noticed from my travels) and sometimes per gas station (In the s...

Post Posted: April 6th, 2009, 3:17 pm

Welcome to South-Africa people, I pay my ass off for uncapped ... I pay R1500 ($165) per month, and that's the cheapest uncapped we have ...

Post Posted: April 6th, 2009, 3:13 pm

Our call centers always have people in them that speak pathetic English. I hate callig a call center ... These days I am getting a lot of telephone marketing calls though ... I always try and see how long I can keep them on the line before they hang up ...
  • Sort by
 
 

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