| |
thread by: Defaultman |
last post Sep 29 '05 by: Defaultman
Hi,
I have 2 issues concerning regex:
1) change a string of:
number\number\number to number/number/number
for example:
2\0 to 2/0
3\1\2 to 3/1/2
|
thread by: f3l_ |
last post Sep 29 '05 by: f3l_
does anyone one know any opentoro like project for php? (or perl?)
http://opentoro.sourceforge.net/
id really like to be able to do this kind of stuff,
and all of my web searchs (about it) have been sadly useless.
|
thread by: Han Koster |
last post Sep 29 '05 by: Obvious
I use the following statements:
$var = "";
$var = $_POST('varname');
In php 4, when 'varname' was not defined, $var remained an empty string;
In php 5, I suddenly get errors.
I solved these by including the function array_key_exist to check the
occurence of 'varname'
|
thread by: muelli75 |
last post Sep 29 '05 by: Kirsten
Hi!
Im getting insane by solving a problem ....
I try to define a function which uses a code-snippet from another file.
My base are the codes from the great book "WebDataBase-Book by H.
Williams & D. Lane".
So I try to use
|
thread by: Bob Bedford |
last post Sep 29 '05 by: Kim André Akerø
I've to save in an array of array some values.
Problem: I don't know the size of the array before filling it.
I'd like something like
$bigarray = array():
then runnig the code I must create dinamically (I don't know how many) few
arrays in the bigarray;
|
thread by: jmlin84 |
last post Sep 29 '05 by: Jimmy Reds
I'm using the code:
if(move_uploaded_file($_FILES,
$target_path)) {
echo "The file ". basename( $_FILES). "
has been uploaded";
} else{
echo "There was an error uploading the file, please try again!";
}
|
thread by: Zou_Benjamin |
last post Sep 29 '05 by: Zou_Benjamin
would anyone helps me about the following error
java:
Class A
{
...
}
Class B
|
| |
thread by: amorphous999 |
last post Sep 29 '05 by: James
I will be creating a small web site using php/apache/SQL Server running
on a Win2000 server. It sounds as if there a number of alternatives
for accessing SQL Server: mssql* functions, ADOdb object, using a ADO
COM object, ODBC calls, etc. Has anybody out there evaluated the
alternatives for speed, error handling, quality of documentation,...
|
thread by: windandwaves |
last post Sep 28 '05 by: Andy Hassall
Hi Folk
I am making a website that is going to get lots of hits in one go (they will
be doing lots of advertising). I am a bit scared the whole thing will fall
over because it will get too many hits at one time. My questions are:
a. has anyone got any experience with this?
b. what is a lot?
c. are there any techniques to reduce the...
|
thread by: Luciano Vittoretti |
last post Sep 28 '05 by: Manuel Lemos
Hi everyone,
I need some PHP script to make a documentation of database (like
phpdocumentator, www.phpdoc.org ), moreover I need that document act
like a database administrator, in other words, I need something that
permits by an interface to do ALTER TABLEs commands.
If someone know something like that get in touch.
Thanks,
|
thread by: ralphNOSPAM |
last post Sep 28 '05 by: Tom Scales
When I execute this script, nothing displays on my browser. I'm trying
to verify my image is being reduced by 50% before I try to write it to
a file:
// The file
$filename = "/home/public_html/radar2.jpg";
$percent = 0.5;
// Content type
header('Content-type: image/jpeg');
// Get new dimensions
|
thread by: Krimgelas |
last post Sep 28 '05 by: Dikkie Dik
Hello,
I have been programming in PHP for a while, but always the classic function
oriented approach. I would like to learn how to program in PHP with an
object oriented approach, but so far have found little resources. I would
prefer to find a paperback book that explains this approach in a clear way,
without it being too simple or too...
|
thread by: Hanjo Grüßner |
last post Sep 28 '05 by: Hanjo Grüßner
Hello,
I want to transfer a file from a http-server to another.
Well, that goes fine like this:
$upload = ftp_put($conn_id, "$destination_file", "$source_file",
FTP_BINARY);
But I want - before the transfer - to know wether the $source_file exists.
More, I want to know and keep its original filetime.
|
thread by: rushik |
last post Sep 28 '05 by: rushik
Dear all,
We are using cookie base access management in our business intranet
portal. We are setting user level cookies at the time of successfull
login in the system, and after login we are checking the cookie 'user
id' and 'page id'; if user has permission of the particular page he/she
is allowed, otherwise throw the access denied...
|
thread by: ssp |
last post Sep 28 '05 by: Gary L. Burnore
Dear all,
I'm dealing with a very tricky problem and can't seem to find the
answer with google. the problem is: i want to store huge data
(binaries) inside a mysql databases blob - to later store those data to
a file somewhere else (from where i can connect the database).
problem comes into play, when I try to output a "progress" of the...
|
| |
thread by: jaYPee |
last post Sep 28 '05 by: Rincewind
anyone know how can I replace this code using only the div tag? I have
tried everything but I can't do it.
here's the code using table:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
|
thread by: Chung Leong |
last post Sep 28 '05 by: R. Rajesh Jeba Anbiah
Just noticed this link on the side while reading this group on Google:
"PHP Programmers at $10/hr"
So sad...
|
thread by: Rossz |
last post Sep 28 '05 by: rossz
I did "pear upgrade-all" and upgraded a number of modules. I then
immediately tried to use pear to install a new module and got this:
bash: /usr/bin/pear: No such file or directory
WTF! It looks like the upgrade-all caused pear to nuke itself. So how
do I manually install pear? I can't exactly remove PHP and reinstall it
as it's on a...
|
thread by: alex |
last post Sep 28 '05 by: alex
Hi all,
I'd like to find the equivalent of the getimagesize() function for remote
swf files.
Do you how to do this ?
thanks in advance,
--
alex
|
thread by: Yarco |
last post Sep 28 '05 by: Yarco
I searched over the world, but find nothing.
No one describe this question for more detail.
I'm under win32. And i see the lastest download version of fastcgi is 1
years old.
No body tell me the difference between SNAP and none fastcgi.dll
Which instruction can be used in httpd.conf?
And finally i get the turth of:
|
thread by: Con |
last post Sep 28 '05 by: Sven Lauritzen
Hi, I'm in the process of converting some PERL to PHP. Thus, is it
possible to leave the following line as is:
if ($id =~ /vvvvv/g) {
...
}
If not, can someone provide PHP equivalent? BTW, I have checked the
|
thread by: pierre.bru |
last post Sep 27 '05 by: pierre.bru
hi,
fist the context: I have a web server which query a mySql database. but
as the number of parralel queries increase, the server slows down too
much.
I got 2 ideas, one of which is to run N deamons which effectively
execute requests. the PHP uses message queuing(1) to queue queries
request to the daemons. but the answer may be quite...
|
thread by: Michael Kilpatrick |
last post Sep 27 '05 by: Drazen Gemic
I'm writing a command-line PHP script that gets executed by a virtual
printer (a redirected port using the Redmon tool). The PHP modifies the
Postscript data before forwarding it to the real printer.
In this case the real printer is an HP LaserJet 5100 with a JetDirect
wireless server. My machine runs Windows XP. The printer, as well as...
|
| |
thread by: Shettin Kittens |
last post Sep 27 '05 by: Samuel
test - please ignore
|
thread by: GG |
last post Sep 27 '05 by: GG
I don't know if this can be done. Can PHP be used to read/write to the
serial port on a PC? Any replies related to Linux or Windows are
welcome.
Ultimately, I would like to be able to send a character string to the
serial port when a button is clicked on a PHP driven website.
Any thoughts anyone?
|