|
by: MrBoom |
last post by:
Does using uniqid seem a reasonable way of generating a unique row
identifyer in a db table? It's *highly* unlikely that two ids are
going to be generated in the same microsecond, but if they are,
setting lcg as true should eliminate any problems I'd have thought.
Anyway, these are my thoughts, do people agree?
|
by: jasonbrown1999 |
last post by:
Someone told me the following script could be used to run harmful
commands on the server, by passing commands into the script. What the
script does is encode an affiliate URL, create two frames, with the
affiliate URL decoded and placed in the bottom URL. The top frame
contains http://www.domain.com/selectanothercard.html for navigation
back...
|
by: Mike |
last post by:
I am sure that I am making a simple boneheaded mistake and I would
appreciate your help in spotting in. I have just installed
apache_2.0.53-win32-x86-no_ssl.exe
php-5.0.3-Win32.zip
Smarty-2.6.7.tar.gz
on a system running WindowsXP SP2.
Apache and PHP tested out fine. After adding Smarty, I ran the
following http://localhost/testphp.php
|
by: John Bowling |
last post by:
I have a java (2.0) program with the following lines:
String cmdArray1 = {"lp", "-d", "hp4m", "MyFile"};
System.out.println(Runtime.getRuntime().exec(cmdArray1));
It compliles properly, but does not print the file to the printer. It
displays the following as the return from Runtime...:
java.lang.UNIXProcess@1034bb5
|
by: Anders Dalvander |
last post by:
os.popen does not work with parameters inside quotes, nor do
os.popen. At least on Windows.
import os
cmd = '"c:\\command.exe" "parameter inside quotes"'
os.popen4(cmd)
Results in the following error message:
'c:\\command.exe" "parameter inside quotes' is not recognized as an
|
|
by: 3KWA |
last post by:
Hi all,
I am wondering what is the standard doctest (test) practice for
functions who's returned value change all the time e.g. forex rate:
import urllib
def get_rate(symbol):
"""get_rate(symbol) connects to yahoo finance to return the rate of
symbol.
|
by: Cogito |
last post by:
For the first time, I'm attempting to write a small Javascript program
using one on the online reference sites. I need some confirmation as
to the behaviour of the break statement.
In the following code:
for ( row = 0 ; row <= 7 ; row++ ) A <----
{
for ( col = 0 ; col <=7 ; col++ ) B <----
{
|
by: Pietro Cerutti |
last post by:
Hi group,
assume the following declarations:
char *func_1(void);
void func_2(char **);
I am allowed to do:
char *c = func_1();
|
by: ajaxphp |
last post by:
hello, all:
I am having trouble to make ajax work for my tiny php app.
I have a index.php file, which is
<?PHP
session_start();
$_SESSION = md5(uniqid(rand(), TRUE));
?>
<script src="clienthint.js"></script>
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|