Search found 92 matches

by ScTech
Thu Sep 19, 2013 5:01 am
Forum: Tutorials
Topic: Auto thumbs image gallery
Replies: 3
Views: 1773

Re: Auto thumbs image gallery

Interesting. Are you sure that the file exists? By your example, that means that picture.jpg would be in the same directory as the script. If the file does not exist you have it set to die with no output.
by ScTech
Sun Sep 15, 2013 3:40 pm
Forum: JavaScript
Topic: Requiere filling in text box before clicking on submit
Replies: 5
Views: 2152

Re: Requiere filling in text box before clicking on submit

It depends on your HTML markup. Also, don't just fall back on JavaScript because it can be disabled. If in your markup you have a name on your text box, it's pretty straight forward. [syntax=javascript]if(document.getElementsByName("your_name").value == "") { // Empty }[/syntax] ...
by ScTech
Sat Sep 14, 2013 4:51 pm
Forum: General Chat
Topic: Backup Manager feedback
Replies: 4
Views: 4778

Re: Backup Manager feedback

Lol thanks. Yea I went a bit overboard with the JQuery and forgot to add noscript
by ScTech
Sat Sep 14, 2013 4:54 am
Forum: General Chat
Topic: Backup Manager feedback
Replies: 4
Views: 4778

Re: Backup Manager feedback

Thanks for the feedback. I figured that would be the case with single files. Now to go attempt to add JQuery without breaking it...
by ScTech
Sat Sep 14, 2013 1:13 am
Forum: General Chat
Topic: Backup Manager feedback
Replies: 4
Views: 4778

Backup Manager feedback

Hi. It's always nice to have feedback, so I would like to ask a few questions for anyone willing to answer Background info: I am making an open source backup manager that does not require shell access. This is especially important to those users who are on subdomain hosting and can not use shell bec...
by ScTech
Fri Sep 13, 2013 4:49 am
Forum: PHP
Topic: registry problems
Replies: 14
Views: 5638

Re: registry problems

You posted init.inc.php. user.inc.php contains all the functions to make it work.
by ScTech
Mon Sep 09, 2013 1:23 pm
Forum: PHP
Topic: registry problems
Replies: 14
Views: 5638

Re: registry problems

Post user.inc.php please.
by ScTech
Sun Sep 08, 2013 4:19 am
Forum: General Chat
Topic: Kickstarting the activity here.
Replies: 45
Views: 18747

Re: Kickstarting the activity here.

Honestly I'm not sure why jacek kept using mysql, especially since deprecation. But perhaps remaking the tutorials into mysqli would be a good start. What do you mean by community project?
by ScTech
Fri Sep 06, 2013 3:52 am
Forum: PHP
Topic: registry problems
Replies: 14
Views: 5638

Re: registry problems

You are missing a semicolon after your header redirect.
by ScTech
Wed Sep 04, 2013 8:08 pm
Forum: Code
Topic: JQuery Chat
Replies: 6
Views: 3320

Re: JQuery Chat

Thank you. I was afraid that this would be the case. I guess I will have to push back the release date. I want to get rid of login.php and register.php now anyways and make it purely all in chat.php. I don't normally like using 3rd party scripts in mine so I will attempt to make a custom captcha and...
by ScTech
Wed Sep 04, 2013 8:00 pm
Forum: PHP
Topic: Teamspeak 3 php problem
Replies: 4
Views: 3074

Re: Teamspeak 3 php problem

Try using $_SERVER['DOCUMENT_ROOT']
by ScTech
Wed Sep 04, 2013 5:14 am
Forum: Code
Topic: JQuery Chat
Replies: 6
Views: 3320

Re: JQuery Chat

Before I release the new version of this I would like to say that I'm trying to prevent as much spam as possible in this as possible. Right now the main spam issue would be registration. I could add an email field and make sure no one duplicates, but then people would just use fake emails. I'm not s...
by ScTech
Thu Aug 29, 2013 2:22 am
Forum: PHP
Topic: Temporary link Download
Replies: 30
Views: 11300

Re: Temporary link Download

Found the issue in upload.php You can go ahead and remove those lines I told you to put in if it works. [syntax=php]if (in_array($file_ext, $allowed_ext) ===false){ $errors[] = 'File extension not allowed';[/syntax] Right here you are not ending the bracket until later on so you are only defining $e...
by ScTech
Thu Aug 29, 2013 12:05 am
Forum: PHP
Topic: Temporary link Download
Replies: 30
Views: 11300

Re: Temporary link Download

We are here to help :) Try putting this under your opening PHP tag at the top of upload.php
[syntax=php]error_reporting(E_ALL);
ini_set('display_errors', 1);[/syntax]
by ScTech
Wed Aug 28, 2013 9:28 pm
Forum: PHP
Topic: Temporary link Download
Replies: 30
Views: 11300

Re: Temporary link Download

Weird. Tested to make sure $expiry worked and it displays the correct time for me. And you said that file_expiry column is showing a 0, but only when you insert a number?
by ScTech
Wed Aug 28, 2013 7:02 pm
Forum: PHP
Topic: Temporary link Download
Replies: 30
Views: 11300

Re: Temporary link Download

Please post file_list.php in case there's a difference. Also, what are the expiry values in the database both when you don't insert a number, and when you do.
by ScTech
Wed Aug 28, 2013 12:31 am
Forum: PHP
Topic: Temporary link Download
Replies: 30
Views: 11300

Re: Temporary link Download

You're missing apostrophes around $expiry in your query on upload.php
by ScTech
Tue Aug 27, 2013 10:56 pm
Forum: Tutorials
Topic: Private Message System [part 04] ERROR
Replies: 15
Views: 3733

Re: Private Message System [part 04] ERROR

You're using backticks around your variables. They need to be apostrophes. Keep the table/column names having backticks.
by ScTech
Tue Aug 27, 2013 10:50 pm
Forum: Tutorials
Topic: Private Message System [part 04] ERROR
Replies: 15
Views: 3733

Re: Private Message System [part 04] ERROR

To know that, we need to see $result
by ScTech
Tue Aug 27, 2013 9:54 pm
Forum: Tutorials
Topic: Private Message System [part 04] ERROR
Replies: 15
Views: 3733

Re: Private Message System [part 04] ERROR

You need to post what you're including in index.php. Temor was going off login.page.inc.php doing that which only shows you displaying that on form submit.
by ScTech
Tue Aug 27, 2013 3:09 pm
Forum: Tutorials
Topic: Private Message System [part 04] ERROR
Replies: 15
Views: 3733

Re: Private Message System [part 04] ERROR

You're missing an "=" on line 5.

EDIT: After that error is solved there will be an SQL error that will not be displayed. This is because in your queries, you are using apostrophes ' instead of backticks ` around your table names.