-
Posts
15,266 -
Joined
-
Last visited
-
Days Won
431
Everything posted by requinix
-
i locked my own admin accounts on phpmyadmin
requinix replied to alexandre's topic in PHP Coding Help
No, not your whole computer. MySQL. I say "safe mode" but that's not the actual term. Just do what the instructions in that page I linked earlier say - except, of course, your problem is unlocking the account, not resetting the password. Because MySQL gets installed on Windows just about the same way regardless of whether you use XAMPP or not. -
The one helpful part missing from your post is stating what the correct values are supposed to be. Because e484d857-00b7-4107-a58a-36ff29f6a3a5 looks like a correct GUID to me. Typically, though, one deals with binary file data by reading an entire "block" of stuff at once and then unpacking it. $data = fread($handle, 52); print_r(unpack("C4header/vversion/vlicense/v2flags/Vnames/Vnameoffset/Vfiles/Vfileoffset/Vtypes/Vtypeoffset/C16guid", $data)); Array ( [header1] => 193 [header2] => 131 [header3] => 42 [header4] => 158 [version] => 127 [license] => 29 [flags1] => 33 [flags2] => 0 [names] => 31 [nameoffset] => 72 [files] => 7 [fileoffset] => 753 [types] => 6 [typeoffset] => 711 [guid1] => 228 [guid2] => 132 [guid3] => 216 [guid4] => 87 [guid5] => 0 [guid6] => 183 [guid7] => 65 [guid8] => 7 [guid9] => 165 [guid10] => 138 [guid11] => 54 [guid12] => 255 [guid13] => 41 [guid14] => 246 [guid15] => 163 [guid16] => 165 )
-
i locked my own admin accounts on phpmyadmin
requinix replied to alexandre's topic in PHP Coding Help
Whether you don't have the password or the account is locked, either way you cannot get into it. Restart in safe mode, unlock the account manually, then restart in regular mode. I don't know if XAMPP gives you a way to restart in safe mode. -
i locked my own admin accounts on phpmyadmin
requinix replied to alexandre's topic in PHP Coding Help
Restart MySQL in safe mode without user authentication, reset the root password/unlock the account, then restart back in regular mode. https://dev.mysql.com/doc/refman/8.0/en/resetting-permissions.html -
Your query will return two colors. There's no way for you to know which color belonged to which flower. Or whether there were multiple rows for a given flower. You're starting with a list of flowers, right? SELECT flower, color FROM prettyflowers WHERE flower IN ('rose', 'carnation', 'orchid', 'tulip'); That will give you the list of colors but also their matching flowers. I don't know what you want to do after this, but while you go the that set of results, you can remove the flower from the list you started with. So you'll find a row of rose/red and orchid/purple, remove those from your list of flowers, and end up with carnation and tulip.
-
Programa Empresa Exportadora En Python.
requinix replied to batma3's topic in Other Programming Languages
And what is your question? -
Any $_POST data you would be able to see in your browser's developer console where it handles network monitoring. Pull that up, run your script, and see what is or isn't being sent in the requests.
-
The "common solution" would be to fix whatever incorrect configuration you have. But it's hard to know exactly what part is incorrect by guessing. You also apparently have some setup where you can simply "change" how PHP is running, and if you can "enable SEO friendly URLs" then there's some application involved that you haven't mentioned. So. What is your setup?
-
"Session variables" isn't a language. The choice is not "session variables instead of PHP" or "session variables instead of Javascript". The choice isn't even "PHP or Javascript". The choice is "session variables or data in the request". As in you can decide to put page information into the session or you can put page information into the URL. And the latter is better.
-
Is it me or are you doing pagination using session variables?
-
The error message is telling you that the first character in the "JSON" is a less-than. You know, like the kind used by HTML? Doesn't that make you wonder what the "JSON" you expected to see, actually was?
-
I know an application with lots of database tables. Each record has a blargh identifier that is unique across all blarghs in the world. Do you think they're the same as sysids? I can't tell you how to create a "sysid". I can tell you about things like UUIDs.
-
If you're running some kind of long-term process (and you expect it to run for a long time) then you need to disable the script timeout. That's to be expected. But you should consider whether you really want to be doing that for a script running through your web server.
-
Adult Content acceptance popup before viewing the site
requinix replied to elena71pa's topic in PHP Coding Help
What menu links? I don't see anything in there that looks like a menu. -
Adult Content acceptance popup before viewing the site
requinix replied to elena71pa's topic in PHP Coding Help
So you know, titling your thread "Adult Content" is a great way to get an admin's immediate attention - and not in a good way. So I've edited in something for you that's a little more specific. What kind of problems? -
Fixed.
-
It seems to be working, and the invite code isn't set to expire at all. Is there maybe something else going on? I see someone named @rain in there. Would that happen to be you?
-
Does Flywheel also have its own web server? Probably does. "Correct" is highly subjective. If you want to run both at once then all you actually need to do is make them run on different ports, say 8000 for one of them and 8001 for the other.
-
PHP filename in sub-directory not allowed to be number w include
requinix replied to Niss3's topic in PHP Coding Help
Actually what it's telling you is that \1 in a double-quoted string does something special...