Search found 26 matches

by SicX
Wed Aug 07, 2013 5:17 pm
Forum: JavaScript
Topic: JS Chat / Problem with special characters
Replies: 0
Views: 17995

JS Chat / Problem with special characters

Hey guys, I'm having some trouble with my JS Chat! Special characters like ° and `´ or ß don't work. (charset UTF-8) For the first 2,5 sec. (until chat reloads log) it seems fine but then ß will turn into ß aso. Code: <div id="Chatwrapper"> <div id="Chatmenu"> <div style="c...
by SicX
Sat Dec 29, 2012 10:39 pm
Forum: PHP
Topic: Where's my mistake?
Replies: 19
Views: 3659

Re: Where's my mistake?

ExtremeGaming wrote:I don't see the need of editing a file on another server.
Would be nice to have all functions of your servers on one page ;) But I think if you want to realize this, you'll need an own root server where your gamingserver is, your webspace and so on! :)

Thanks for helping guys! (:
by SicX
Sat Dec 29, 2012 12:15 pm
Forum: PHP
Topic: Where's my mistake?
Replies: 19
Views: 3659

Re: Where's my mistake?

Hmm yeah, I was just asking :) Back to the htaccess code, I've heard of tools which changes your IP! Wouldn't it be pretty simple to crack? And, does this IP thingy works together with htpasswd? @jacek As you might have seen, I'm learning myself into fopen, fwrite and fclose. Could you please do a t...
by SicX
Fri Dec 28, 2012 9:20 pm
Forum: PHP
Topic: Where's my mistake?
Replies: 19
Views: 3659

Re: Where's my mistake?

Ok, best would be using dyndns I think! Because changing everyday the htaccess would... :D
Does htaccess work with IPv6?
by SicX
Fri Dec 28, 2012 5:46 pm
Forum: PHP
Topic: Where's my mistake?
Replies: 19
Views: 3659

Re: Where's my mistake?

All right! :) Works men, thanks! I wish you a happy new year :) One littel question: htaccess is save and can't be cracked (expect you're using a simpel password -> brut force attack), am I right? :) So I could possibly use this little CMS on a homepage, in a folder which is locked by htaccess and h...
by SicX
Thu Dec 27, 2012 1:06 pm
Forum: PHP
Topic: Where's my mistake?
Replies: 19
Views: 3659

Re: Where's my mistake?

Aah I see :) Yeah it works fine, but i've got my old problem:

If i switch at the selection to site 2 and type "ABC" and hit save, "ABC" will get saved in site 1 and not in site 2! :/
by SicX
Wed Dec 26, 2012 9:51 pm
Forum: PHP
Topic: Where's my mistake?
Replies: 19
Views: 3659

Re: Where's my mistake?

<html> <head> <title>CMS</title> </head> <body> <form action="" method="POST"> <select name="seitenauswahl" size="1"> <option value="CT/index.php">Index</option> <option value="CT/geschichte.php">Geschichte</option> <option value="CT/...
by SicX
Wed Dec 26, 2012 8:59 pm
Forum: PHP
Topic: Where's my mistake?
Replies: 19
Views: 3659

Re: Where's my mistake?

Well, if I enter the site it says: Warning: file_get_contents(): Filename cannot be empty [...] If I choose a site, it seems all good and when I hit save: Array ( [dateiinhalt] => My Content [submit] => Speichern ) Warning: fopen(): Filename cannot be empty [...] If I understood you right I should ...
by SicX
Wed Dec 26, 2012 8:07 pm
Forum: PHP
Topic: Where's my mistake?
Replies: 19
Views: 3659

Re: Where's my mistake?

Well if I'm doing it like that: <?php $edit = $_POST["seitenauswahl"]; if(isset($_POST["dateiinhalt"]) && $dateiinhalt = $_POST["dateiinhalt"]) { $handle = fopen($edit,"w"); fwrite($handle,$dateiinhalt); fclose($handle); echo '<p style="color:gree...
by SicX
Wed Dec 26, 2012 5:55 pm
Forum: PHP
Topic: Where's my mistake?
Replies: 19
Views: 3659

Re: Where's my mistake?

Yea, I've commented it, that the part with $Seite is pretty messy :P Don't know what i've thought while writing this :D Well my problem is not, that i can only edit 2 sites. My problem is: If I go at the selection to site2 and type "Hello World" and hit save, the content (-> "Hello Wo...
by SicX
Wed Dec 26, 2012 4:49 pm
Forum: PHP
Topic: Where's my mistake?
Replies: 19
Views: 3659

Where's my mistake?

Hey guys, im working next to school on a little 'CMS' (just for fun). It's pretty simple, just a site-selection, the textarea to edit and a save button. It actually works fine, I can see all my content and also can edit it an save it, but when I hit the save-button (in german: speichern) it all get'...
by SicX
Sat Jun 30, 2012 8:38 pm
Forum: PHP
Topic: External Login for phpBB
Replies: 13
Views: 8117

Re: External Login for phpBB

aah! I'm sooo stupid!
You're right, there was an typo!
Thats embarrassing! :oops:

Oh come on, why do I allways such little mistakes :(
I'm sorry but I didn't checked it one time cause I thought everything is correct! :?
Thank you for your help :D

SicX :)
by SicX
Sat Jun 30, 2012 8:04 pm
Forum: PHP
Topic: External Login for phpBB
Replies: 13
Views: 8117

Re: External Login for phpBB

Ups :P Well doesn't seem to work! Array: Array ( [username] => [user_password] => d41d8cd98f00b204e9800998ecf8427e [user_email] => [group_id] => 2 [user_timezone] => 1.00 [user_dst] => 0 [user_lang] => de [user_type] => 0 [user_actkey] => [user_dateformat] => d M Y H:i [user_style] => 1 [user_regdat...
by SicX
Sat Jun 30, 2012 3:40 pm
Forum: PHP
Topic: External Login for phpBB
Replies: 13
Views: 8117

Re: External Login for phpBB

Hey,
removing the trailing comma has no effekt on the script, it just prints: "nicht O.K!"

I don't get it ... normaly it should work!
by SicX
Sat Jun 30, 2012 2:53 pm
Forum: PHP
Topic: External Login for phpBB
Replies: 13
Views: 8117

Re: External Login for phpBB

Hey, sorry for this late reply, got a lot of work to do :-/ Well if changed it as you said but it doesn't changed anything! If I'm using the ' ' the username, password and email will always be the variables (=> username: $username | password: $password | email: $email), but if i'm not using the ' ' ...
by SicX
Tue Jun 19, 2012 1:28 pm
Forum: PHP
Topic: External Login for phpBB
Replies: 13
Views: 8117

Re: External Login for phpBB

This script was published on the original phpBB forum from a user. The Script works, I've tested it by opening it directy (www.domain.de/test.php). And it adds the User which I want to. The only prob. is, to fill this file out with the forms!
by SicX
Mon Jun 18, 2012 7:39 pm
Forum: PHP
Topic: External Login for phpBB
Replies: 13
Views: 8117

Re: External Login for phpBB

Hmm, doesn't seem to work!
Always says: "Nicht O.K!" (= failture ;-))
Any idea what I've made wrong?
by SicX
Mon Jun 18, 2012 7:24 pm
Forum: PHP
Topic: External Login for phpBB
Replies: 13
Views: 8117

External Login for phpBB

Hey :) It's me again! ;-) I'm working on an external login /(atm. mainly) register formular for phpBB. A functional register script looks like this: $user->setup(); /* globale variablen setzen */ global $phpbb_root_path; global $phpEx; global $db; global $config; global $user; global $auth; global $...
by SicX
Sun Jun 17, 2012 2:25 pm
Forum: PHP
Topic: Support Ticket System
Replies: 10
Views: 1693

Re: Support Ticket System

Okay, contact form works perfectly!
Thanks again :)
by SicX
Sun Jun 17, 2012 12:57 pm
Forum: PHP
Topic: Support Ticket System
Replies: 10
Views: 1693

Re: Support Ticket System

Of course! :) The next thing I will do on my own is a contact form with fields that are required ;-)
Let's see how this goes! :P
by SicX
Sun Jun 17, 2012 12:28 pm
Forum: PHP
Topic: Support Ticket System
Replies: 10
Views: 1693

Re: Support Ticket System

Thank you!! :)
This is awesome, you're genius! :D