Using XAMMP or WAMMP on my MAC, I am seeing some odd behavior when attempting to retrieve some values from a BIGINT(10) MYSQL field, and I can only assume its the MYSQL bind or PHP echo, the same code works fine on a PC.
$stmt = mysqli_prepare($this->connection, "SELECT USER_ID, USER_NAME...
The following code was working, not sure the version of PHP that I was using, but I know it worked on 4. Rrecently my host upgraded to PHP Version 5.2.13, and all of the code is broken.
I have an HTML Form Submit.
My HTML Form POST the following variable "requirements" as 2D array data fine...
Does anybody know the pattern to escape special characters if they arent already escaped?
for example, to escape TEST1&TEST2 but not TEST1 & TEST2
Thanks
Hello all,
I am attempting to search and replace some xml text using php's regular expression library.
I want to find all occurences of >some alpha text<
withing an xml string and replace with ><font...>some alpha text<
here is what I have so far
pattern = ">[a-zA-Z0-9]*<";
$replace =...
Hello,
I am new to the ajax methodology so please bear with me.
I have implemented a javascript poll, every second, to my java servlet for message board data. Upon return, I display this data in some div on the jsp page. I noticed in Firefox this works, but in IE, unless I change my "check for...
Hello,
I have mutliple HTML
<select name="requirements[0][]" multiple size=10>
select boxes on my page that get used by PHP. [0][0] - [n]n]
my question is, how can I send this array to a javacript function to verify a value exists at [0][0] in such a way as i do with a text field...
how can i create a batch file to launch an executable with parameter arguments...
@echo on
"c:\crap.exe -Darg=crap"
pause
the -Darg=crap is not being processed, but the dos window doesnt not display any error, it just executes crap.exe alone.
thanks
Does anybody know how to traverse a specified folder for all subfolders and files, I am tryying to create a config file based on all files located within a specified folder.
Thanks
I am usign jdk 1.5 I hear removAll shoudld do the trick.
I have a string buffer of xml
buf.append("NAME |\n");
buf.append("ID |\n");
buf.append("<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n");
buf.append("<xml>\n");
buf.append("</xml>\n");
if i do...
I am making a little simulator for some minor testing, just a little test thing for me that implements swing to run this little GUI. Right now I have my GUI and business logic tied together. I know that is not ideal so I am wondering how to efficiently decouple them.
I was doing this…
1...
Any idea why _mgr is null when I attempt to call openConnection()? It gets instantialed in the GUI constructor?
public class UTFSimulatorGUI extends JFrame implements ActionListener {
UTFConnectionManager _mgr = null;
public UTFSimulatorGUI() {
UTFConnectionManager...
Does anybody know how to automatically kill explorer.exe from say a batch file? If I put "taskkill /im explorer.exe" in a batch file and run it, Windows ask me if I want to shutdown. I i manually kill explorer.exe from the process list, then the taskbar dissapears. I need to automate that. Any...
How would I pass some parameters from inside .bat file to a .sh file.
If I do
test.sh %1 %2
from inside my .bat file, I dont know how to retrieve the parameters from within the .sh
Thanks
When I press the power button on my PC, I would like XP to close all apps and automatically powerdown. Instead The user must select "End Now" to all programs that are non-responsive. This is for a KIOSK. Any idea how to do this?
Is there a way to disable messages that appear when windows xp encounters a problem and needs to restart a program? This is for a kiosk and its annoying to see the message, I would like to disable that message so the executable that had the error will restart automatically.
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.