Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 1.11 seconds.
Search: Posts Made By: Ökii
Forum: PHP 01-30-2006, 06:53 PM
Replies: 1
Views: 607
Posted By Ökii
just a missing apostrophe should be...

just a missing apostrophe

should be '{$form_data['hometown']}')";
Forum: Post a PHP snippet 12-22-2005, 10:17 AM
Replies: 7
Views: 7,308
Posted By Ökii
For those not yet onto version 5.1, you might...

For those not yet onto version 5.1, you might like to try out this unsharp mask (http://vikjavev.no/hovudsida/umtestside.php) from a fiend called Torstein.
It is quite process intense, though works...
Forum: Post a PHP snippet 11-10-2005, 08:57 AM
Replies: 7
Views: 5,298
Posted By Ökii
A few notes here. The GD libraries use a...

A few notes here.

The GD libraries use a proprietary format for manipulating the pixel colours which is quite bulky (basically about 9 times the size of a 80% quality jpeg - eg if you put a 20kb...
Forum: PHP 11-02-2005, 05:36 PM
Replies: 4
Views: 827
Posted By Ökii
try removing the } on the last line

try removing the } on the last line
Forum: PHP 11-02-2005, 09:09 AM
Replies: 9
Views: 798
Posted By Ökii
To do this without crontabs I would tend toward...

To do this without crontabs I would tend toward using the clientside as the only calling process and then use a script to systematically attempt to get the most modern data. eg


<img...
Forum: PHP 11-02-2005, 08:53 AM
Replies: 4
Views: 1,088
Posted By Ökii
Have you tried just calling the page alone in a...

Have you tried just calling the page alone in a browser with a known image id=NN?

Have you tried just running the query alone?

Personally I'm with Spookster on the issue of using the file...
Forum: PHP 10-29-2005, 01:37 PM
Replies: 1
Views: 686
Posted By Ökii
either if( function_exists("openSSL_func") )...

either

if( function_exists("openSSL_func") )

or

if( in_array("openSSL", get_loaded_extensions())

or
Forum: PHP 10-29-2005, 10:39 AM
Replies: 3
Views: 34,326
Posted By Ökii
No syntax error there as the variable will be...

No syntax error there as the variable will be extrapolated due to being within a double quoted string.

You error is the line after...

if ( !($result = $db->sql_query($sql)) )

which invokes...
Forum: PHP 10-29-2005, 10:32 AM
Replies: 1
Views: 33,773
Posted By Ökii
Downloads fine for me trying the .617 Full distro...

Downloads fine for me trying the .617 Full distro from e107.org (http://e107.org/edownload.php)

Which files were you testing for content?
Forum: PHP 10-28-2005, 10:35 AM
Replies: 4
Views: 815
Posted By Ökii
You need to call the script inside an <img src="...

You need to call the script inside an <img src=" tag as the 'Content-type: image/nnn' header needs to be interpreted.

That particular header tells the browser how to display the content and can...
Forum: PHP 10-27-2005, 06:10 PM
Replies: 2
Views: 1,274
Posted By Ökii
Teh main issues I can see would be recursion...

Teh main issues I can see would be recursion within relational classes...

$foo = new FOO;
$foo->bar[ $foo->i ] = new BAR;
$foo->bar[ $foo->i ]->prefix =& $foo; // recursion

Other than that,...
Forum: PHP 10-27-2005, 12:36 PM
Replies: 3
Views: 741
Posted By Ökii
Personally I would attempt to combine the SQLs...

Personally I would attempt to combine the SQLs and let the programming determine the output (they are so similar after all). Something along the lines of...

// check pending friends
$sql =...
Forum: PHP 10-27-2005, 12:04 PM
Replies: 3
Views: 703
Posted By Ökii
To use an array naming convention, you would need...

To use an array naming convention, you would need to increment the values passed (a non checked checkbox is never posted, only checked ones are) so...

<input type="checkbox" name="binary[]"...
Forum: PHP 10-26-2005, 10:57 AM
Replies: 3
Views: 1,406
Posted By Ökii
can you show your actual code as the function...

can you show your actual code as the function end() should do exactly what you want?
Forum: PHP 10-25-2005, 09:41 AM
Replies: 2
Views: 1,056
Posted By Ökii
do not add the dollar symbol to the fields value...

do not add the dollar symbol to the fields value "$3.48" is NAN so the (and this is javascript not php) if conditional always fails.

You might also want to update your javascript to access the...
Forum: PHP 10-21-2005, 05:42 PM
Replies: 3
Views: 976
Posted By Ökii
that wouldn't provide valid html unless the item...

that wouldn't provide valid html unless the item count was an exact multiple of the items_pre_row number. You would need to colspan a final td in order to output proper (x)html - eg (outputting an...
Forum: PHP 10-20-2005, 04:20 PM
Replies: 5
Views: 762
Posted By Ökii
You may be frowned upon for posting those links...

You may be frowned upon for posting those links as our very own moderator firepages distributes an excellent WAMP environment at

http://firepages.com.au/

Can thoroughly reccommend it as I used...
Forum: PHP 10-20-2005, 04:07 PM
Replies: 2
Views: 755
Posted By Ökii
lose the startTag, endTag and maybe cData...

lose the startTag, endTag and maybe cData functions are they are unneccessary. Now you can begin to use the other functions you have available - personally I'd build an array of articles[] which then...
Forum: MySQL 10-20-2005, 12:02 PM
Replies: 3
Views: 794
Posted By Ökii
Aliased fieldnames are not strictly legal within...

Aliased fieldnames are not strictly legal within where clauses, so for proper sql you still need to reference tbl.fld rather than the alias.

A (more than likely dodgy) workaround would be to use...
Forum: PHP 10-20-2005, 11:41 AM
Replies: 4
Views: 1,569
Posted By Ökii
The standard MySQL date format is similar to...

The standard MySQL date format is similar to yours, just reversed because if you remove the periods the dates can be numerically ordered from oldest to newest -

DD.MM.YYYY YYYY.MM.DD
...
Forum: MySQL 10-19-2005, 11:17 AM
Replies: 4
Views: 762
Posted By Ökii
The content will not be changed, you simply will...

The content will not be changed, you simply will not be able to amend the column type if any data is longer than 255 chars.

To amend the table you would first have to update the data.

UPDATE...
Forum: PHP 10-18-2005, 04:22 PM
Replies: 6
Views: 827
Posted By Ökii
Hadn't really been reading through the classes...

Hadn't really been reading through the classes there - you do not need to include anything except session as the setObject adds the class file name to an array and the __wakeup iterates that to...
Forum: PHP 10-18-2005, 12:37 PM
Replies: 6
Views: 827
Posted By Ökii
A call to session_start instantiates the session,...

A call to session_start instantiates the session, checks for session cookie, evaluates any variables and then sends a cookie back. In order to send that cookie it must send a header.

Your script...
Forum: MySQL 10-15-2005, 11:58 AM
Replies: 9
Views: 2,611
Posted By Ökii
The MySQL engine would default to scanning the...

The MySQL engine would default to scanning the table using the key PRIMARY - the performance loss is mainly just to do with disk space used (as the key is stored twice). Obviously an insert would...
Forum: MySQL 10-15-2005, 11:48 AM
Replies: 3
Views: 949
Posted By Ökii
You will need to alias all your joined tables, so...

You will need to alias all your joined tables, so the reference for them is not confused across the joins. I presume you are trying to pull a field from ausuitability for each of the types - a basic...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 01:55 PM.