Argeaux
-
Using jQuery to stop audio
Something like this?: When you click play add a class like "playing" to that audio cue, then if you click play again somewhere search for all the cues that have the class "playing" and pauze or stop it. Then remove the class &qu…
-
How to secure your own Control Panel
A salt is something you add to the password before you hash it to make it harder to crack. For example the password is admin A hacker can make a database with all kinds of known words and passwords and their hashes and search his database for the…
-
How to secure your own Control Panel
They will have access to the database or serverside variable if your site isn't secured right, and then your adminusers password are known. The admin users might use this password for their mail or bankaccount as well so they have access to tha…
-
How to secure your own Control Panel
The way the login is made is important for safety: You should encrypt the admins passwords with something like bcrypt instead of md5 or even no encryption. And also use a salt on your passwords. It can also be useful to throttle the number of login…
-
Custom CMS tutorials?
I agree with traq, most cms are worked on for years by multiple people so building your own isn't the best idea. But since studying code and excisiting software isn't a bad idea on its own, maybe you could check: https://tutsplus.com/cou…
-
Mail format
Are you using php? Wrap the text in the nl2br function when you output it.
-
PHP Switch/Case and the Dreaded Unclean URLs
Maybe you have to enable mod_rewrite in your apache install.
-
Best way to position design elements outside the container
Thanks, i was also thinking of this. Don't like the extra markup for wrapping almost anything but seems like the correct way to go. Thanks for making the example :)
-
How to preserve line breaks in a textarea
damnit... in the seconds parameter: < br > < br>
-
How to preserve line breaks in a textarea
Where you output the string, something like: myString.Replace("\r\n", " ");
-
Caching images
if i save it for web to 50% of the quality in photoshop, it still looks the same and is 685 kb.
-
[Solved] Internship as Web Designer
Webdesigner internship .. and you are supposed to design for ie6? If i were you i would get out of there fast and find something better. Internships are supposed to be fun and interesting, so you can learn new things before you get a real (maybe b…
-
Analogue Magazine style tabel of contents in WordPress
Returns posts with custom fields matching both a key of 'color' AND a value of 'blue': query_posts('meta_key=color&meta_value=blue'); Returns posts with a custom field key of 'color', regardless of the cu…
-
PSD to HTML5/CSS
put it in a div and play around with the css z-index of that div and the div of the bar.
-
[Solved] What would you consider "Mid-Level PHP Programming Skills"?
Well i think its a good thing to talk about this at the interview .. gives you something to talk about and keep the convo going. Often its more a personality thing then a skill thing Anyhoo what i think: Knowledge of the many functions in php and …
-
[Solved] Using WordPress inside of WordPress!
Maybe you should use WordPress MU for this. Since WP 3.0 its default in there. http://codex.wordpress.org/Create_A_Network
-
Tags in a nested array/HTML list
not exacly the same but the technique in this blogpost can be used for your problem aswell: http://crisp.tweakblogs.net/blog/317/fo ... query.html
-
Please Critique: Sketching Code, my web design blog
There is too much going on, i dont know where i should look first. Maybe add some more whitespace and fiddle arround with the font spacing to make it more readable. I like the content of the site!
-
Question on the PHP for Beginners tutorial
also make sure php error reporting on MAMP is on ... if you dont have it on you will get a white page if there is an error in your script.
-
PHP Background Colour Switching
Do you have the class names it gives to the body element in your css file? For example . If you havent got that class in your css file nothing will happen ofcourse.
-
Database Connection
Well if you are visiting a website you can't actually see the php code behind it. Try to see the php code which runs css-tricks, it can't be done (or else tell me how :P ) So you can't see what the developer entered as Mysql data .…
-
php code for future mail sending
store all the data for the card in the database and use a cron job to check the database every 5 minutes to check if there is a date in the past, if so send the card if not do not send the card yet.
-
Need help constructing a MySQL query.
ill give it a shot, but i kinda need more info: SELECT * FROM `table1` LEFT JOIN `table2` ON `table2`.`id` = `table1`.id` WHERE `table1`.`name` = '$name' AND `table2`.`url_key` = 'google' AND `table2`.`url_key` = '$url…
-
Need help constructing a MySQL query.
can you give the structure of both tables and explain which values you want out of both tables?
-
How can I tell how long a PHP script can run + how to extend
Mhh i haven't handled such large xml files before.. Maybe the way to do it is in chunks of (x)amount. Then keep track of where you are in the xml file in a database. You make a cronjob which calls the php file every 5 minutes to do (x)amount…
-
How can I tell how long a PHP script can run + how to extend
check this out for more info: http://php.net/manual/en/function.set-time-limit.php But why on earth do you have a script that takes days to complete? Maybe there is a better way if you explain what you are trying to do...
-
Contact form with attachments.
What code do you have so far? Or do you have nothing yet?
-
Contact form with attachments.
The tigzag article looks pretty clear to me, what isnt working for you? Are you getting errors or just getting nowhere?