Hi, please could you disable and randomise the username of my account? Many thanks
Type: Posts; User: v8YKxgHe; Keyword(s):
Hi, please could you disable and randomise the username of my account? Many thanks
tasty
Be careful when using this, as it doesn't do exactly what you may want it to do. For example, in Bash the wildcard glob "*" does not match dot-files by default, and you need to enable the "dotglob"...
You should rework your logic ... having data being supplied to the user but then wanting to redirect straight away makes zero sense.
Array dereferencing is new since PHP 5.4.0, so unless you're running 5.4.0+ then you'll get a syntax error. To work around it, simply assign the return value to a variable, and then access the array...
It's simple. As stated in the docs (http://php.net/print) the return value of 'print' will always be 1. The "HELLO" appears first, followed by the three ones which are being printed out by the very...
bneva; there seems to be a lot of misinformation being handed to you here so I'll try and clear a few things up.
The code I gave you will work, the reason you're running into issues is that the...
<form action="foo.php" method="post">
<input type="hidden" name="file" value="myfile">
<input type="submit" value="Delete">
</form>
<?php
if (isset($_POST['file'])) {
/** Add...
He wants to run a command as root but without placing the command in roots crontab; so he would need sudos default behaviour to run as root.
Maybe I'm reading it wrong, but his question would be...
Just prefix the command with 'sudo' and make sure in your /etc/sudoers file (edit it via 'visudo') that you can run the specified command without the need to enter your password.
Don't use regex for this, use http://php.net/strpos
You're mixing server side (PHP) with client side (JavaScript). You can not call PHP functions from within JavaScript.
You don't need any JavaScript for this to work. That HTML form will POST to...
Go simpler and just make each its own HTML form, with 1 hidden input being the identifier for the file and 1 submit button per form. Of course, validate the values server-side for security reasons.
GIMP is a raster image editor. Inkscape is a vector image editor. They can not be better then each other, or worse than each other - they do different things
TimeDistort12, it really would never happen because what you're suggesting implies a false sense of security and is very dangerous.
"security" is not one thing, it's a layer of things and by doing...
unknownPoster, that is no problem - just do as it says and use the === operator. The overhead of using regex for such simple operation is not a good idea.
To quote a famous saying:
Regex is...
http://php.net/ereg has been deprecated for a long time and should not be used, please suggest http://php.net/pcre over it. Also, for such simple thing regex is not even needed. You can use...
Your previous post makes 100% no sense. What do you mean, and what is the *actual* error produced by PHP?
Ensure that you have "display_errors" on and that you have a high enough "error_reporting" level. This can be done either in your php.ini configuration file or you can put the following at the top of...
There is no need to set the environment all the time. Simply use PHPs many DateTime classes/functions, http://php.net/datetime for example:
$a = new DateTime('now', new...
On localhost it is obviously OK to enable "display_errors". Also ensure that your "error_reporting" is set to "E_ALL | E_STRICT" within your php.ini file.
Also, the missing semi-colon is perfectly...
I don't have any feedback on your actual code & program per se, however:
Nor will your own custom program. Subscribing to their mailing list is a hell of a lot easier than doing what you're...