Search Results

Showing results 1 to 40 of 223
Search took 0.02 seconds.
Search: Posts Made By: Anonymusius
Forum: PHP Sep 26th, 2007
Replies: 3
Views: 1,361
Posted By Anonymusius
I don't think there is a good answer to this. "Better" is hard to define, I don't actually know Coldfusion but what I saw from it looked utterly weird. That doesn't mean it's a bad language, I heard...
Forum: PHP Sep 21st, 2007
Replies: 1
Views: 1,198
Posted By Anonymusius
I think you would be better off here: http://www.daniweb.com/forums/forum52.html
Good luck
Forum: PHP Sep 21st, 2007
Replies: 2
Views: 1,373
Posted By Anonymusius
One word: Javascript.
Forum: PHP Sep 20th, 2007
Replies: 4
Views: 731
Posted By Anonymusius
As I understand it you want to mask an id you pass through the URL with frames, so that people don't hotlink to it. But anyone reasonably smart wont be fooled by that.
If I understand your problem...
Forum: PHP Sep 19th, 2007
Replies: 3
Views: 2,185
Posted By Anonymusius
with tags. You can replace and with <sub> and </sub>, and then enter it in your DB. You should watch out for unclosed tags though, if you write [sub] and not close it all following text will be...
Forum: PHP Sep 11th, 2007
Replies: 2
Views: 6,080
Posted By Anonymusius
You can get URL value's with $_GET[] array, in your sample URL (
http://somesite.com/readarticle.php?name=sample.txt) it would be $_GET['name'];. Be warned to use this cause this brings potential...
Forum: PHP Sep 5th, 2007
Replies: 1
Views: 2,203
Posted By Anonymusius
When I tried it in PHPmyadmin I got:CREATE TABLE `test` (
`id` CHAR( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`name` INT NOT NULL
) ENGINE = MYISAM

MySQL said:
#1063 - Incorrect column...
Forum: PHP Sep 5th, 2007
Replies: 1
Views: 585
Posted By Anonymusius
<?php
session_start();
$_SESSION['var'] = $variable;
?>

<?php
session_start();
echo ++$_SESSION['var'];
?>
I guess that should work
Forum: PHP Aug 28th, 2007
Replies: 4
Views: 745
Posted By Anonymusius
I guess your problem must lay in the form your using. To did you made a little typo:if($budget == "low"){ $sream = $stream + 3; }

if the post variable's aren't initialized will none of these...
Forum: PHP Aug 26th, 2007
Replies: 4
Views: 1,413
Posted By Anonymusius
It looks to me like the www folder for Cpanel is wrongly set. it operates in /home/cometora/public_html/ and it calls to /usr/local/apache/htdocs/. This might as well be intended behavior.

My...
Forum: PHP Aug 23rd, 2007
Replies: 7
Views: 1,139
Posted By Anonymusius
Yes, the server can't see the difference between two requests from different windows (different browsers is another story, you got to have the session cookie for it to work)
Forum: PHP Aug 23rd, 2007
Replies: 3
Views: 1,960
Posted By Anonymusius
You need to wrap this in a form tag, and then submit it with a <input type="submit">.

Here's how the form is supposed to look, taken that this is the file index.php:

<form action="./index.php"...
Forum: PHP Aug 23rd, 2007
Replies: 4
Views: 828
Posted By Anonymusius
The only thing I use is a text editor with some sort of text highlighting, at this moment bluefish. (And off course an image editor, GIMP for me). If you want feature's to include in such an...
Forum: PHP Aug 21st, 2007
Replies: 2
Views: 1,414
Posted By Anonymusius
Well, to take the easier part first, the printing of each value of an array:
<?php
foreach($array as $key => $val){
echo "$key = $val <br />";
}

Now to separate email addresses, that depends...
Forum: PHP Aug 19th, 2007
Replies: 8
Views: 1,305
Posted By Anonymusius
This question makes no sense. Pages are read-only. You are probably not formulating this correctly. Post again and explain what you want PHP to do. We'll help you on your way to do it.
Forum: PHP Aug 19th, 2007
Replies: 4
Views: 1,996
Posted By Anonymusius
PHP had a nice build-in library called SimpleXML (http://nl3.php.net/manual/en/ref.simplexml.php) for parsing XML. Your client needs to have PHP5 though.

Good luck.
Forum: PHP Aug 19th, 2007
Replies: 9
Views: 1,463
Posted By Anonymusius
Maybe post some code? All I can do now is direct you to PHP's session page. http://nl3.php.net/manual/en/ref.session.php
Forum: PHP Aug 19th, 2007
Replies: 6
Views: 1,261
Posted By Anonymusius
I don't see any problems in my first glance, try to put a print_r($names); somewhere and see whether the array contains email adresses valid for PHP to swallow (...
Forum: PHP Aug 17th, 2007
Replies: 9
Views: 3,932
Posted By Anonymusius
You shouldn't upload it to your production server, especially if it are scripts you don't understand the working off. I'd advice you to get a local server, if your on windows is wamp...
Forum: PHP Aug 17th, 2007
Replies: 3
Views: 948
Posted By Anonymusius
If there both installed it should work. I used the debian repository via ubuntu to get apache and mod_php (I believe that's what the plugin is called). How did you install PHP and Apache? Did you...
Forum: PHP Aug 17th, 2007
Replies: 4
Views: 1,449
Posted By Anonymusius
If I were you I would go for mysql instead of a textfile, both options are possible and mostly a matter of taste. The advantage of mysql is that you can easily request the last 10 or more results...
Forum: PHP Jun 2nd, 2007
Replies: 1
Views: 763
Posted By Anonymusius
Use a unique identifier in the mysql table (Like an index key or an unique key). Then use something in the direction off:

if( ! isset( $_GET[ 'id' ] ) ){ die( 'No ID specified' ); }
$value =...
Forum: PHP Jun 2nd, 2007
Replies: 4
Views: 1,662
Posted By Anonymusius
http://nl3.php.net/manual/en/ref.mysql.php

Scroll down, to Table of Contents. There is a list of mysql functions. You should especially look at:
mysql_connect();
mysql_select();
mysql_close();...
Forum: PHP May 23rd, 2007
Replies: 1
Views: 1,587
Posted By Anonymusius
You could use http://www.wampserver.com/en/ or XAMPP (to lazy to search for link ;P). It has most the feature's necessary and works fine. It has PHPmyadmin (Very handy for mysql). If you want to run...
Forum: PHP May 20th, 2007
Replies: 8
Views: 1,447
Posted By Anonymusius
If you want others to access your forum I would advise you against hosting it yourself. It would mean your computer has to be on and running the web server if others want to access it. To are there a...
Forum: HTML and CSS May 19th, 2007
Replies: 2
Views: 865
Posted By Anonymusius
Since you provide very few information is it hard to help. I'd say you should go with PHP. PHP is very easy to learn and integrates nicely with mysql databases. PHP puts HTML and CSS out, all server...
Forum: PHP May 17th, 2007
Replies: 2
Views: 1,493
Posted By Anonymusius
Do you think your boss is ok with you posting this? Beside that, can't you trace the problem down to a specific piece fo code? This is to big for me to wade through.

To I like code that's indented.
Forum: PHP May 11th, 2007
Replies: 9
Views: 1,528
Posted By Anonymusius
It looks to me like you entered this somewhere in your mediagalary, but that it got parsed. To because that a tag was wrapped around the URL's. Bit weird is the <br"> and that it didn't close the a...
Forum: PHP May 8th, 2007
Replies: 5
Views: 983
Posted By Anonymusius
Put your server online (left click on wamp icon, then put online) and then goto your IP (you said 192.168.0.12) in your browser.
Forum: PHP May 6th, 2007
Replies: 4
Views: 2,596
Posted By Anonymusius
I made it work, my solution is however not so pretty looking:
$query = '--
-- Database: `anonymusiusform`
--

CREATE DATABASE `anonymusiusform` DEFAULT CHARACTER SET latin1 COLLATE...
Forum: PHP May 4th, 2007
Replies: 4
Views: 2,596
Posted By Anonymusius
I removed the comments (they were just for fun there, and with enters it actually looked more structured) and it didn't seem to work, still the same error. I google'd a few times and searched through...
Forum: PHP May 3rd, 2007
Replies: 4
Views: 2,596
Posted By Anonymusius
I have a program which requires a database. So I made a file that could generate the sql to create it (I copied the sql from PHPmyadmin as reference). When I execute the sql I get the error: You have...
Forum: PHP May 3rd, 2007
Replies: 4
Views: 1,249
Posted By Anonymusius
You misspelled mysql_num_rows, I think that because of that it returned false, so 0. And because of that the entire while loop was never executed.

To shouldn't you get every result manually. I...
Forum: PHP Feb 20th, 2007
Replies: 2
Views: 1,706
Posted By Anonymusius
Very sorry to bother you, I forgot to add
$this->free = true; to the free function, and because of that the class tried to free the result again in the destructor.

Very sorry for the triple...
Forum: PHP Feb 19th, 2007
Replies: 2
Views: 1,706
Posted By Anonymusius
The code owrked when I took it appart, but when I added the mysql_num_row function it crashed:

<?php
mysql_connect('localhost','anonymusius','fake password, so not my real one');...
Forum: PHP Feb 19th, 2007
Replies: 2
Views: 1,706
Posted By Anonymusius
I'm learning Object OrĂ¯ented PHP (or whatever you like to call it) and I ran into a problem.

I made this query class:
class query
{
var $query;
var $result;
var $free;

...
Forum: Geeks' Lounge Jan 3rd, 2007
Replies: 20
Views: 3,919
Posted By Anonymusius
Well if you search for Anonymusius in images you get nothing, if you search for anonymous you get link (http://www.sonyclassics.com/masked/images/drowningman.gif).

Pretty funny, It never happened...
Forum: Posting Games Dec 27th, 2006
Replies: 3,076
Views: 213,062
Posted By Anonymusius
you are right :sad:
Forum: Posting Games Dec 26th, 2006
Replies: 2,038
Views: 145,031
Posted By Anonymusius
Look! some billion pages marred because FUNNY google adsense!
Forum: Posting Games Dec 25th, 2006
Replies: 2,038
Views: 145,031
Posted By Anonymusius
Yes, some several BLOGS flooded by horrible google intellitxt
Showing results 1 to 40 of 223

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC