Gary King 37 PHP/vBulletin Guru Team Colleague

I suppose it's not completely like Access. It's just a visual DB builder; you still need to have some sort of knowledge w/MySQL in order to move around in it.

Gary King 37 PHP/vBulletin Guru Team Colleague

It sounds like he only needs a shared server ;)

Gary King 37 PHP/vBulletin Guru Team Colleague

You need to show us the relevant lines.

Gary King 37 PHP/vBulletin Guru Team Colleague

I haven't looked at MSSQL for a long time, but I believe it's like ~$1,000 or so? MySQL = free

Gary King 37 PHP/vBulletin Guru Team Colleague

phpMyAdmin is the best bet.

Gary King 37 PHP/vBulletin Guru Team Colleague

Searchable database eh? Well, first off you need to make the layout for your table.

Make a table, something like 'cards' and then you need to figure out which columns you'll need (you can add and remove them later.)

For instance, columns could be something like:

id (this is essential - and should be incrementing for each card, so that your program can easily find a card using their ID)
name (card name)
(other columns that are suitable)

Then later on, you can make a PHP program that searches for different values in different columns, and you can even run wildcard searches (like *est* would find test, testing, etc.)

Gary King 37 PHP/vBulletin Guru Team Colleague

Any host that charges you for MySQL is almost most certainly ripping you off. About 95% of the hosts that I see support MySQL by default.

And, I'm glad to help you here :) Because, guess what? MySQL is FREE and OPEN SOURCE :eek: :D :) Meaning that actually, the code is publicly available to the public and therefore, no one can LEGALLY sell it for any price and therefore, you can't rent it, you can't buy it. You can just download it and install it on your own computer. But in this case, about your host, they should have already supported MySQL by default. Which host is it? The 25 pounds is quite a lot for MySQL to be installed.

Gary King 37 PHP/vBulletin Guru Team Colleague

After mysql_connect(), put this:

if (!$conn) {
   die('Not connected : ' . mysql_error());
}
Gary King 37 PHP/vBulletin Guru Team Colleague

I edited the post to make the code easier to read.

Gary King 37 PHP/vBulletin Guru Team Colleague

Do you have phpMyAdmin installed? If not, then INSTALL IT. It's the best way to work with MySQL for dummies (even experts use it, very easy to use.) I'm sure you already have it installed on your webhost, though. Then just import the file in phpMyAdmin.

Gary King 37 PHP/vBulletin Guru Team Colleague

Sure, post the code. It'd help.

Gary King 37 PHP/vBulletin Guru Team Colleague

What do you mean convert a font to another? Have you seen a website that can do this so you can give an example?

Gary King 37 PHP/vBulletin Guru Team Colleague

phpnuke is a php portal: http://phpnuke.org/

Gary King 37 PHP/vBulletin Guru Team Colleague

yes, check that; otherwise, just use header() function to redirect to desired page

Gary King 37 PHP/vBulletin Guru Team Colleague

what program are you making?

Gary King 37 PHP/vBulletin Guru Team Colleague

you can use .htaccess

just put a .htaccess file in that dir then the content of the .htaccess file should be:

php_value safe_mode "1"

search for .htaccess on this page: http://ca3.php.net/manual/en/function.ini-set.php for more help :)

Gary King 37 PHP/vBulletin Guru Team Colleague

I hope this would help you http://docs.php.net/en/ref.printer.html

that has already been posted

Please next time read THE VERY FIRST POST

Gary King 37 PHP/vBulletin Guru Team Colleague

If you're using javascript, then this would better belong in a javascript forum, I assume; *moving*

Gary King 37 PHP/vBulletin Guru Team Colleague

Yep, and then the update will take place before the new data is outputted.

Gary King 37 PHP/vBulletin Guru Team Colleague

Erm by the way, which book do you have? It might have a thing or two about Apache already.

Gary King 37 PHP/vBulletin Guru Team Colleague

Have you installed a web server like Apache yet? You need one to be able to translate your code using the PHP engine. The PHP engine doesn't directly translates your code; but instead it goes through a web server such as Apache (free) - find it on Google :)

Gary King 37 PHP/vBulletin Guru Team Colleague

I would suggest using <input type="hidden" name="AccID" value="$AccID"> in your forms so that the data is continuously passed from one form to the next.

Gary King 37 PHP/vBulletin Guru Team Colleague

They haven't had any development in over a year, though.

Gary King 37 PHP/vBulletin Guru Team Colleague

If you used GET instead of POST method for the form then it would work (but that might make URL extremely long.)

You could also simply tell the user how to use their 'Save Page As' feature in their browser :)

Gary King 37 PHP/vBulletin Guru Team Colleague

Stick the badge on your website, or any where you go on the internet :)

Gary King 37 PHP/vBulletin Guru Team Colleague

click in my sig :D

Gary King 37 PHP/vBulletin Guru Team Colleague

This is a very old thread, no point in replying 11 months later :(

Gary King 37 PHP/vBulletin Guru Team Colleague

It's not a big deal. The IP address of a domain can be found in a second or two.

Gary King 37 PHP/vBulletin Guru Team Colleague

I didn't suggest that you were hacking, but this SOUNDS like it. What I mean is that, since it seems like hacking, I don't think it can be done. But I'm sure you can do it in a similiar method.

Gary King 37 PHP/vBulletin Guru Team Colleague

yep, very big news across PHP land. it especially makes forums such as phpBB, vBulletin, Invision, etc. vulnerable to attacks because of the loads of info ; or that might be the other vulnerability? :(

Gary King 37 PHP/vBulletin Guru Team Colleague

So the form adds the slashes for you? Well that's how it's supposed to be I believe, otherwise it would mess up with the " quotes around the entire thing :)

What you do is use this function: stripslashes(); to strip the slashes from the string.

Also, to allow people to save the pages, make a link to the page and then just tell them to right-click the link and then use the 'Save As' option to save the page.

Gary King 37 PHP/vBulletin Guru Team Colleague

What is the filename of the page that I see here: http://www.exoticpublishing.com/ I checked but it is not an index.php or index.php3

Also, I suspect that the include(); files are missing because the paths are different. Check the include(); functions in the file to make sure they are pointing to correct file.

Gary King 37 PHP/vBulletin Guru Team Colleague

I'm not sure if there is a way to send files to the printer without the user's consent. That would be like hacking the enduser. The best you can do, from what I know so far, is that you can use Javascript to show the print dialog on a page (you can easily find the code for this online.)

Gary King 37 PHP/vBulletin Guru Team Colleague

I mean in the HTML template, so you have to go to the admincp -> Manage Styles (not sure exact name).

It's NOT in any of the *.php files so don't bother looking there ;)

Gary King 37 PHP/vBulletin Guru Team Colleague

Nope, that's incorrect actually.

It doesn't like line 26 in the EVALUATED code, meaning line 26 of the template that it is trying to execute :)

Gary King 37 PHP/vBulletin Guru Team Colleague

I'm talking about the templates, not your file. The template that you are using on that page.

Gary King 37 PHP/vBulletin Guru Team Colleague

You didn't pay attention to the error message, now did you? ;) It says right here in your first post:

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

Check your <if> statements in templates. You might be missing </if>

Gary King 37 PHP/vBulletin Guru Team Colleague

Give us the few lines before 26 as well.

Also, nice to see you using my tutorial and putting it to good use :p :D

Gary King 37 PHP/vBulletin Guru Team Colleague

Um, when you say the list is shown as:

1
2 < -- seems to insert after this.
5
4
3

Do you mean this is what you see in phpMyAdmin? If so, then that is technically how MySQL works, normally; the data can come in any random order (but I'm not certain). It happens to me sometimes - unless you specify a sort method, then don't expect the data to be in an order that you want it to be.

Gary King 37 PHP/vBulletin Guru Team Colleague

Sounds interesting; some more reviews would be nice.

Gary King 37 PHP/vBulletin Guru Team Colleague

There are at least a couple with PHP 5 support and are well known products.

You can spot a few here: http://www.google.com/search?q=php%205%20editor

Also, there are literally thousands of freeware/open source projects going on, so I don't see what is wrong with it ;) If you commercialize your product, then it'll just be another product that most probably won't even check out since it is not well known.

Well, I'm just talking for myself I guess - if you really have an awesome product and believe that others will pay for it, then go ahead! :)

Anyways, good luck with your venture! :)

Gary King 37 PHP/vBulletin Guru Team Colleague

If it's your only source of income, then go for it.

But I'm just saying it's an EXTREMELY competitive market (there are about, I would say, 50 or so editors that already have their names out there) and you'd have to compete with them.

Gary King 37 PHP/vBulletin Guru Team Colleague

I meant there are editors that are open source and others that are commercial - not both together :)

Maybe you should read this: http://www.amazon.com/exec/obidos/tg/detail/-/0596001088/qid=1097842331/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/102-3461984-4332916?v=glance&s=books&n=507846

That's what I'm reading now :) And it's also what the Netscape team read before deciding to open source Netscape and making the Mozilla project :D

Gary King 37 PHP/vBulletin Guru Team Colleague
Gary King 37 PHP/vBulletin Guru Team Colleague

DELETE this message? Are you mad? :D Why would we ever do that - this is an awesome thing you guys are doing :) I'm glad to see more options for PHP Editors (as long as they aren't completely horrendeus that is :))

Anyways, what language did you write the editor in?
Also, ever thought of making it open source? (The way of the future!) Or will you be keeping it a commercial product? :( If you keep it commercial then I can guarantee you that you will need a lot to break through the other already popular commercial AND open source editors in order to get your name out there, but going open source can really turn some heads if you ever decide to go that way.

Gary King 37 PHP/vBulletin Guru Team Colleague

I'm sure phpBB has comprehensive walkthroughs? If not I'm sure their community can also help a lot :)

Gary King 37 PHP/vBulletin Guru Team Colleague
Gary King 37 PHP/vBulletin Guru Team Colleague

right.. ok then

Gary King 37 PHP/vBulletin Guru Team Colleague

My nvidia geforce fx 5200 was new when I bought it (I had a geforce mx 440 before that, which SUCKED) and now my current card sucks as well :(

Goes to show that you'll never have the latest and greatest :)

Gary King 37 PHP/vBulletin Guru Team Colleague

Do you use the reputation system on these forums?

I think we should use them more often :)
And it should be more widely promoted, as in making it more obvious in posts and such.