@whitemistcafe We tend to frown on questions that can be answered with a simple search.
Type: Posts; User: james438; Keyword(s):
@whitemistcafe We tend to frown on questions that can be answered with a simple search.
After looking into my scripts and encrypting and salting passwords, I see that my password scripts are a little less secure than I thought, but still pretty secure.
The passwords are encrypted and...
What is the best way to store and encrypt a password that is between 5 and 40 characters long and may include an ip address with the password preferably using php?
For example, "This is a strange...
There are many coding related questions that are discussed on these forums, but SEO is not something we are equipped to address. I can only recommend contacting search engines such as Google or...
Let me know if this works.
I notice you have a bit of what appears to be javascript mixed in there of which I have virtually zero knowledge of, so I may have escaped too many quotes.
<?php...
Got it.
It appears that $_GET is always cast by php as a string. ref1
That being the case, how can a string be converted to an integer? This can be done via (int). See the below code for an...
<?php
$a=$_GET['ID'];
if (!is_int($a)) echo "a is not an integer";
?>
Where $_GET['ID'] = 23 as in www.testsite.com/test.php?ID=23
Oddly enough it says that it is not an integer :confused:
As a rule, we don't do homework for others, let alone in Biology.
Your post was mistakenly flagged as potential spam. False positives like your post is an issue that is being worked on.
Regarding your post, could you reply to this thread or update your original...
Quick note: This is a nice post, so I moved it to it's own thread, but as a general rule, it is frowned upon to respond to very old threads, or threads that have not had any new posts in the last...
Resolved:
The purpose was to make sure that only images are uploaded, so create_function() or function() are not really needed. In fact, all I really needed was the following code snippet:
...
It appears that I need to make changes to the following lines:
function file_has_extension($fn, $ext) {
if(is_array($ext))
return array_reduce(array_map(create_function('$a', 'return...
Minor update.
I recently received The Name of the Rose in the mail. I chose it because it is considered a classic, and it is normally quite expensive in Region 1, but not in Region 2, and it is a...
I am in the lengthy process of modernizing a lot of code on my website to make it php 8.x compliant. I have never really gotten the hang of user defined functions, so the following code was not...
Pioneer USB 3.0 Slim Portable BD/DVD/CD Burner
I do plan on responding more thoroughly with my findings, but I have not yet ordered the region 2 blu-ray yet. Due to getting this internationally,...
Thank you. I have purchased the blu ray player and have it set up to play blu ray movies although without menus. I still need to find a good region 2, etc. movie to purchase to test. The one I was...
Thanks. I'll get a blu-ray drive and try the VLC software. Even if I can't get it unlocked with VLC, I figure it will still be a useful drive for most movies. I'll keep you posted.
I recently purchased a pre-built computer, however, it does not have an optical drive. I do enjoy watching foreign movies on occasion, so I'm thinking of purchasing an external blu-ray player. Can...
In my experience, these "malicious code detectors" tend to be overly sensitive.
I usually look at their warnings and the file they are referring to, check to see that it is working as it should...
Closing this thread. Questions regarding good hosting services is difficult to answer as individual needs vary greatly and this type of question can easily attract spam.
To those looking for an...
Click "Settings" located in the upper right side of the page to the right of "My Profile". On the left side of the page you will have a few options for editing your profile picture and avatar.
...
I'm glad you were able to get things figured out. I felt like I needed to be more involved with the full code to see what was going on. Still, I am glad it is working now.
Regarding your...
Quick question: Is your table name 'category'? It seems like it might be confusing to have a table named 'category' and a column in that table also called 'category'.
The following line does not...
I'm glad it helped :)
That's a big reason why I enjoy Windows 7 :)