TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 9 of 9
Search took 0.01 seconds.
Search: Posts Made By: Runar
Forum: Javascript, AJAX, E4X 06-23-2009, 11:55 AM
Replies: 8
Views: 797
Posted By Runar
Speaking of your HTML. I suggest you read this...

Speaking of your HTML. I suggest you read this (http://juicystudio.com/article/div-mania.php) article about a phenomena called Div Mania.

In short, you should not overuse div elements but instead...
Forum: Absolute Beginners 06-12-2009, 12:28 AM
Replies: 29
Views: 1,451
Posted By Runar
I "cracked" the code. The solution itself was in...

I "cracked" the code. The solution itself was in the code, and this is the site it redirects to:

http://91.212.65.148/ga.js

I visited that link, and ended up with another javascript-snippet. I...
Forum: Advanced PHP Programming 06-09-2009, 06:03 PM
Replies: 5
Views: 985
Posted By Runar
This might just do the trick. I have tested the...

This might just do the trick.

I have tested the code myself and it seems to be working the way you requested. The script will list files and sub-folders in the folder you define; either directly in...
Forum: General 11-15-2008, 06:26 PM
Replies: 13
Views: 1,235
Posted By Runar
You will have to define images somewhere in your...

You will have to define images somewhere in your PHP script, then send it to the template engine, like this:

$template->images = $some_array_with_data;

If that did not work, please let us see some...
Forum: Advanced PHP Programming 11-12-2008, 08:06 PM
Replies: 9
Views: 1,985
Posted By Runar
I know I used $this in a situation similar to...

I know I used $this in a situation similar to your first example. In your last example, the actual chaining, I did something like this:

$class->first()->second();

I am not sure if there is any...
Forum: Absolute Beginners 11-11-2008, 07:00 PM
Replies: 14
Views: 895
Posted By Runar
Then you are doing something wrong when setting...

Then you are doing something wrong when setting the variables. Could you post your entire script, at least the parts where you are setting the variables?
Forum: Advanced PHP Programming 11-10-2008, 12:13 PM
Replies: 3
Views: 858
Posted By Runar
Hello, I removed the else part and moved the...

Hello,



I removed the else part and moved the code to open the folder and display all files till after the fwrite() part. The code to display the files is not repeated anymore.




Done, using...
Forum: MySQL & Databases 11-07-2008, 10:13 AM
Replies: 2
Views: 973
Posted By Runar
I found this after a quick Google search: Some...

I found this after a quick Google search:



Some say it worked, some say it did not. I think it is worth a try.

Good luck!
Forum: General 11-06-2008, 12:51 AM
Replies: 10
Views: 1,366
Posted By Runar
Hello, I made an attempt to solve your...

Hello,

I made an attempt to solve your "problem", and I came up with the following (thanks to the manual) solution. I am sure there are better ways to do this, but this seems to work:
<?php

//...
Showing results 1 to 9 of 9

 

All times are GMT. The time now is 12:44 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design