22 Badges
- Url Inventor
- browser Popularizer
- Php Specialist
- image Inventor
- browser Inventor
- Devotee
- Returner
- Good Answer x2
- Dabbler
- Php Connoisseur
- Text Connoisseur
- Javascript Connoisseur
- Css Connoisseur
- JQuery Connoisseur
- Teacher
- Tutor
- Helper
- Inquisitive
- Supporter
- Thanks
- Appreciated
- More…
Contributions
-

How Can I Deny Users Direct Access to A Webpage Unless they Enter a Password?
Not sure if this is possible (I don't think so), because HTML is for the most part strictly used as presentation rather then mechanics. You'd have to use server-side code for authentication. The only thing I can think of is HTML Password Field Form that's used to hide a users password as it is being typed. -

Is there a way to let Jquery know which Php page was visited last?
You could assign the pages a session: $_SESSION["page_visited"] = "xx.php"; All you'd have to do is use the session_start on the pages and then redirect to the relevant page: Header('Location: www.yourwebpage.com'$_SESSION["page_visited"]); -

What's the Best Way to Monitor Ajax Calls as Well as Outgoing/Incoming Data In Chrome?
I'd use the Fiddler tool. It's free and easy to use. -

How Can I Start a Unix Process by Calling a PHP-Page From the Web?
Try exec() and escapeshellarg(): Exec('command -param=' . Escapeshellarg($_GET['argument'])); This will let you execute a shell-script. -

How Can I Add a Button That Will Place Specific BBCode Tags Into a Text Area?
You can use HTML and some JavaScript. This will be simple code, if you're looking for the code to be highlighted then that's something a bit more complex: HTML: <button id="thebutton >Image</button > <textarea id="thetextarea" ></textarea > JavaScript: $('thebutton').click(function(){ $('#thetextarea').append('[img][/img]'); }); -

What Do I Need In Order to Quickly Show an Image and then Hide it For 10 Seconds?
You could use the setTimeout() Function. It will allow you to execute code (the image) after a specific timed interval. Simply use the timeout function and load an image then place the function afterwards so that it loads and hides at specific intervals which in your case is every 10 seconds. -

Is it Possible to Register More Than One Shutdown Function At the End of a PHP Script?
Yes you're able to call the register_shutdown_function to execute twice regardless of the situation. They will each be executed in the exact order (one after the other) as suggested in the PHP Documentation. -

Is there a way to email out the jpeg rather than php it?
Do you mean using a online PHP application? Well that entirely depends on the technology used. If you can email out an image perfectly using PHP, what problems could that cause? -

Using jQuery How Can I Highlight ONLY the Text On Hover, NOT the Entire Div/Whitespace?
Use the inline tag <span> -

What's the Best Way to Secure an Ajax Application?
- Ensure any user inputs are parsed/cleaned to ensure they can't do things such as SQL injection attacks. This includes any ajax requests where the user input can be stored on the query string. In fact anything passed into the app from the query string should be validated/cleaned in this manner.
- Do you use any passwords? If so use SSL to stop any packet sniffing. And hash your passwords in your database with a salt
- A quick Google dug up this which looks pretty good: www.securityfocus.com
- Some tips on securing user input www.dagondesign.com

