There is no use to query member credits if the user id is not valid to begin with. So having it within your "if ($user_id != ''){..." condition, below the functions include seems correct (assuming...
The important thing to remember is not to overcomplicate it...uploading a file in PHP is very simple and can be done in a few lines of code...it is actually more complicated adding security to it, so...
Your enclosing "if" statement is saying only process the input "if" one of those fields is identical to blank...so unless one of the defined fields is in fact identical to blank, no code will be...
As a default, PHP's file upload size limit is set pretty small. You first have to decide what size of files you are going to allow to be uploaded and if they are very big, you might want to...
Honestly there are a lot of good hosts out there and it completely depends on your bandwidth needed (if your "video product" involves streaming / downloading of video), and if there are any special...
Before risking re-inventing the wheel, have you looked into seeing if someone already offers the info you need through an API? You might be able to retrieve channel listings and show lengths through...
You just need to know what these different machines are running...for example if you php server is Linux, and your remote server you wish to save the file to is Windows, you can mount the remote to a...
There are also frameworks like SLIM php that offer easy ways to create "routing" rules. What is cool about this is it analyzes the URL path and routes the request to the script and can even disguise...
Was this an interview for a web designer type position? If he was trying to assess your distinction of the different web technologies...For that purpose I think he was probably looking for "no". Most...
First you have to understand that most sites generate revenue through ads. With that in mind, just changing the ID in the url will take you to the full page of the site with the video in it so that...
when your loop runs, it creates a bunch of inputs all with the same name (invoice_details). This means that when the data is posted, the value of the last input of that name will be used.
Nothing wrong with it. Sometimes people create version directories and then just create a script on the index page redirecting to the current version. This way you only need to update the current...
Also remember that json_encode() is fairly new and may not be included in your php install...i've ran into this a few times before, in which case there are some other functions and classes available...
I dont see any ID or class attributes in any of those link elements for the CSS to control. It looks like your include is working, you might post in the CSS forum to get the menu styling working.
If your MySql DB is using case sensitive table and column names, you need to make sure to pass the appropriate column name filter...so if your column name is 'email' you need to do either:
Thats not an easy question, but I think an easy way to implement a feature might be to have 2 tables (all users (lets call it 'users'), and one containing the users last activity time (lets call it...
I dont know of a single course to encompass all the technologies...my associates focus was in web technologies from the commuinity college here, but that is kind of generic encompassing many...