,
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of an algorithm that would work, but
I have had no luck yet?
Thanks,
Simon
. I would be most grateful if anyone could help me.
Cheers,
Simon
I'm moving away from Cold Fusion and am considering java or php. I've
mucked around with Struts and Coccoon on the java side and think they
are great. There does not however seem to be any well backed projects
similar to these for php.
Can anyone point me to a good php MVC framework?
--
PHP
Jeffery Fernandez wrote:
Simon Reye wrote:
I'm moving away from Cold Fusion and am considering java or php. I've
mucked around with Struts and Coccoon on the java side and think they
are great. There does not however seem to be any well backed projects
similar to these for php.
Can anyone
Hi Francis
No. Thats one of the great things about bind variables.
cheers Simon
On Wednesday 10 November 2004 05:45, Francis Chang wrote:
Hi,
I'm using the Oracle database though I think this question is generic to
all databases.
If you're using bind variables and preparing the SQL
that some files can be several gigs big. Will this be
a problem?
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dos anyone know how to solve the problem of very slow file upload?
I think its a common problem, but I can't find a solution anyware.
(Upload 10 - 20 times slower then download, even on intranet)
php V 4.3.1 /Free BDS 4.8
Simon Rigt
--
PHP General Mailing List (http://www.php.net
a buffer og a buffer
size or somthing...??
Any idears??
/Simon Rigt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You could use ODBC to do it.
//Simon
C.F. Scheidecker Antunes wrote:
Hello all,
I need to have some excel capabilities for an automated script. Excel
can save files in CSV which are very easy to read and parse with PHP as
they are nothing more than text files.
Pear has a module called
called from this:
header(WWW-Authenticate: Basic realm=\My Site\);
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anyways. Ideas?
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any built-in function to find out if a file/directory is hidden
in Win32?
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
preg_match(/To: ([^]+)?([^]+)??/i,$string,$matches);
returns email in $matches[1] in the first instance
and name in $matches[1] and email in $matches[2] in the second.
-Original Message-
From: Robert Kornfeld [mailto:[EMAIL PROTECTED]
Sent: 07 April 2004 09:32
To: [EMAIL PROTECTED]
I wonder if it's possible to get the options (such as Indexes) for a
directory via PHP. Any clue?
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that changes from - to \, |, /, and so on (looks like a rotating
line).
Ideas?
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes, that's one way. It's currently in development for Win32, but it
would be nice if it works on *nix later on aswell. Got a tip from a user
in a chatroom to use Ncurses for it, but then I can't use it on win32.
Just to correct myself; it's chr(8) and not 7.
//Simon
Adam Voigt wrote:
I'm
that
is of any use to get the folder is $_SERVER['REQUEST_URI'], but it
doesn't reveal the local path that I want.
Any ideas on how to solve it?
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
//Simon
Michal Migurski wrote:
If you're running PHP as an Apache module, this may solve it:
http://php.net/apache_lookup_uri
Neat - I learn something new everyday!
-
michal migurski- contact info and pgp key:
sf/cahttp
no other indexfile in the folder. But how can
I let it know which folder to work in? Let's say that it gets
example.com/~simon/files/ as URL. All the local variables I've seen by
using phpinfo() point to the location of the file, not the folder I'm
requesting.
Any ideas?
//Simon
--
PHP
Is there any functions to pad the decimals in a number? There's round()
to put it down to two decimals, but what if I want to take it up to two?
Example:
5 - 5.00
20 - 20.00
4.3 - 4.30
etc.
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
usefull when distributing scripts. No worries
about losing the md5-file or sfv, etc.
Just some thoughts.
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone out there have any idea on how to create circlediagrams,
using GD? Preferably something to set that x% of the circle is filled
with one color and the rest with some other. Thinking about it, doesn't
sound like an easy task with the current functions. :-\
//Simon
--
PHP General
[5] = 1076625940 [6] = -1073777064 [7] =
1075882071 )
Has anyone seen something like this before? Suggestions? It's not a dodgy
font. Switching fonts makes the numbers change but only slightly.
For reference, my phpinfo is here: http://www.sympages.com/info.php
Help!
Thanks,
Simon
--
PHP
Hi,
try it with the 'chop()'-function.
Note, that this also removes any other whitespace-characters like tabulators
and spaces.
HTH,
Simon
-Original Message-
From: Shu Hung Yeung [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 02, 2003 5:14 PM
To: [EMAIL PROTECTED]
Subject
Sorry, one correction:
the 'chop()'-function only removes the whitespaces an the END of the string.
But if you want to remove the newline (and only this) at the end of the
string try this:
$new_string = preg_replace(/\n$/, , $old_string);
HTH,
Simon
-Original Message-
From
Hi,
can you give us some lines from your error_log-file?
Usually found in /var/log/apache[2]/.
Thanks,
Simon
-Original Message-
From: Teren [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 02, 2003 8:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP and Apace setup
Hi, I just
I'd like to know if any of you out there know where I can find a
highlight_file() sort of function, but for Java-files. Would be very
helpfull in my shared development.
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think I've missed something somewhere, but how do I use XML?
Everywhere, there are big hypes about XML. I could proably google quite
a bit on this, but could someone give me a hint on how to use it in, say
datahandling? Or to parse a website (like the php docs).
//Simon
--
PHP General
) commes up.
Also, the colorparsing ends at the end of line.
Please help me on this issue.
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
The error is Warning: append_child(): Can't append node, which is in a
different document than the parent node.
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yellow pages
then click a profession like acupuncture ( radio button ) and chose a state
say carlifornia
then click the show list button
then you will find what is wrong,
any suggestion ?
let me know
Thanks for your help in advance
simon
--
PHP General Mailing List (http://www.php.net
Hi all,
i am also looking a person to maintain my website findhealer.com
with a monthly payment
thanks
simon
-Original Message-
From: Tian, Simon (Contractor) (DSCP)
Sent: Wednesday, October 22, 2003 2:22 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject: Re
I use WINSyntax married with Dreamweaver MX. WINsyntax is free and superb I
recommend that you have a quick look at before you look any where else!
ermelir [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello list,
I try to use fileower function on php 4.3.2 + Apache 2.047+ Xp pro
sdfsdf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
I've got this problem when using templates on my localhost. The code works
on my web server which i rent so the code is fine. I have ran php code for
mysql functions and other for testing purposes.
Below is the code i used in index.php.
INDEX.PHP
?php
switch ($page)
{
default : include
hi,
I've got this problem when using templates on my localhost. The code works
on my web server which i rent so the code is fine. I have ran php code for
mysql functions and other for testing purposes.
Below is the code i used in index.php.
INDEX.PHP
?php
switch ($page)
{
default : include
perfectly!
Thanks...
HTH,
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it possible to create GIF animations using GD?
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
://www.php.net/get/php-4.3.3.tar.bz2/from/se.php.net/mirror; doesn't
really work. So, is there any FTP (or webserver that work with WGET)
that I can fetch those from?
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to the commandprompt. System: WinXP Pro.
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It does exist, if the server is set to resolve automatily.
From PHP docs:
Your web server must be configured to create this variable. For example
in Apache you'll need HostnameLookups On inside httpd.conf for it to exist.
//Simon
John Taylor-Johnston wrote:
Aw gee, $_SERVER['REMOTE_HOST
.
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Unfortunately, I've been unable to duplicate this problem on my own
machine with MSN 8 (win2k), but I have users of my software who use the
MSN explorer browser complaining at me. It appears that sessions are not
being properly initialized, because my PHP software is failling at a point where it
can kill ssh. I ssh to my computer 24/7 and never
have I killed it.
I changed some settings and used killall -HUP sshd like I've done many
times before. Sure the session is killed, but I've been able to connect
it again... just not this time.
//Simon
--
PHP General Mailing List (http
Yeah, but as it is, I can't start those things :P
I must be root to do so. Apache is not running as root.
//Simon
Jason Wong wrote:
On Monday 11 August 2003 13:01, Simon Fredriksson wrote:
Anyway; I want to make some sort of PHP backdoor to start sshd again. As
far as I know, only root
Unless you can find some Access-Class I think ODBC is the way to go. No
idea how you can solve it if you're using a *nix server though.
//Simon
Pehepe Php wrote:
how can I connect access database(*.mdb) with php? what is the code?
I will be happy if you write php code.
Thank you
Ryan A wrote:
Hi,
I am trying to get my data into a very similar layout as this:
http://hostfilter.com/ComparePlan.asp?IntVal1=389IntVal2=546IntVal3=605
see the table with the plans...how is he getting that in one table? what
kind of logic is that? the best I can do is for each column I have to
Just solved your problem and made a better solution for my previous answer.
The code is available at http://mirror27.sytes.net/~webhost/
//Simon
Ryan A wrote:
Hi,
I am trying to get my data into a very similar layout as this:
http://hostfilter.com/ComparePlan.asp?IntVal1=389IntVal2=546IntVal3
, does anyone have any good solution to this problem?
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How can I easiest rewrite A and IMG tags? I'm fetching a page with
fsockopen() and I need to rewrite these tags before sending it on to a user.
My own theory is that it's made with Regular Expressions. I just don't
know these myself.
Thanks.
//Laban
--
PHP General Mailing List
to use and understand.
This might not have helped you at all, it's just my story.
//Simon
Ryan A wrote:
Hi,
I myself never really create classes to use in my projects, if I ever use
classes its only because they come from someone else (eg phpclasses.org), I
find using the non OO approach much
with ONLY php and without webserver? Or do
you mean using PHP for something else then web, to make it listen for
incomming connections?
If the second, you might want to look here:
http://se.php.net/manual/en/ref.sockets.php
Maybe that helps.
//Simon
--
PHP General Mailing List (http
I'm wondering if there's any crazy dude out there that would like to
join me in making a class for PHP to convert Mp3's to Mp3Pro. Even
better would be if it could take other formats aswell, but mainly MP3 to
MP3Pro. There are a few reasons why I want it in PHP. One is that PHP is
When I make console scripts for *nix in PHP I have the shebang line and
after that ?php
#!/usr/bin/php -q
?php
...
?
Is PHP as powerful as perl on the console area yet?
//Simon
John A. Thomason wrote:
Thanks for your help. Also, I checked out your tutorial and Apache and PHP.
I have Apache
If you're using a windows platform, an easy way out is using ODBC.
Besides that there are a few classes out there, but I've not found any
that were good enough, or they were commercial.
//Simon
Pehepe Php wrote:
How can we connect microsoft access database(*.mdb) or excel(*.xls) with
php
If that's the case I recommend using multiple files instead of one big.
Just come up with some structure for them. I'd say 10-20MB text is
pretty much.
//Simon
Jason Giangrande wrote:
Thanks for your help guys. The checkboxes thing is working great.
Michael, regarding using files instead
/function.fgets.php
//Simon
Seairth Jacobs wrote:
I have an open socket that I am reading from. The code looks like the
following:
$contentLength = 0 + $this-response['headers']['content-length'];
do{
$status = socket_get_status($this-socket);
if( $status['eof'] == 1 ) {
if( $this-clientOptions
Hello!
I have a PHP class here that can fetch that information for you from the
XML sheet provided by the server. I'll send it to you if you want, I
forgot where I downloaded it (you could check www.hotscripts.com though).
//Simon
Ben Paul wrote:
Hello,
I am currently streaming via shoutcast
I'm wondering if there's any easy way to convert special chars to the
numerical version of it. Like space converts to %20 and slash (/) to %2F.
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this to be a
cross platform thing.
I've been looking a bit at Java and C++ but so far I'm not very good
with these languages.
Any thougts/comments about this would be nice if you shared.
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
colspan=2 align=centerinput type=submit value=Submit
Query/td
/tr
/table
/form
/body
/html
Any ideas would be greatly appreciated as I am floundering badly!
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
around here is me!!
All thought or comments welcome.
Thanks,
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to me directly.
Regards
Simon
--
Simon Coggins (SAGE-AU Member)Email: [EMAIL PROTECTED]
Network and System Management Officer Phone: +61-2-4221-3775
Information Technology Systems (ITS) Mobile: 0408 115861
University of Wollongong, 2522, Australia Fax: +61
way of putting a block of text into a variable without
having to read it in from a file. From the template point of view, all
that happends is a token is replaced with the body of the text. So
reading that in from a file is hard.
Thanks
--
Simon Coggins (SAGE-AU Member)Email
OK, now I have I have been convinced that PHP is the best thing since cheese
burgers, I have a question...
How easy is it to... Have a set of 6 HTML drop downs each with texted based
info that when selections are made generate a dynamic on screen price?
So in english, drop down one could be
that anyone knows? I am plannig to develop an E-comm solution us Oscommerce,
does anyone know if this is any good or is naff?
Any hints, tips or pointers would be greatly appreciated.
Thanks,
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
, but still has bugs hasn't been
updated since long.
Any alternatives?
thanks
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I will be out of the office starting 21/03/2003 and will not return until
14/04/2003.
I will respond to your message when I return.
For the latest data on the economy and society
consult National Statistics at http://www.statistics.gov.uk
do it all just with
preg_match or should i construct the combinations with some additional code?
thanks;
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(i'm basically trying to crunch data for later reporting)
Any info, direction to documentation welcome (i did look but as a beginner
I find its hard to know where to start.)
Thanks
Simon
For the latest data on the economy and society
consult National Statistics at http://www.statistics.gov.uk
Hello!
I have problems if i want to communicate with my serial interface.
someone told me to try with the COM functions, but i didn't find any
examples in the internet.
i hope someone can help me!
thanks
simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Hi,
i have one big Oracle database, 20GB. Is it better to comunicate
directly to Oracle with PHP, or to export data to MySQL. How secure is
PHP Oracle, can they communicate well?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pointers, example scripts or references would be greatly
appreciated,
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
how can i sort names by first letter, like, show only names starting
with a, then b, c .. etc
tnx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jonas Geiregat wrote:
is it possible to do something like mail([EMAIL PROTECTED],subject,hello
if($a){ return andreas; });
or what would be the best solution for this ?
i dont think that anybody understand this...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Alberto Brea wrote:
Dear list,
My home page is index.html, that doesn't run PHP.
I also have index.php which shows the same content with PHP.
Can I do to automatically redirect a visitor from index.html to index.php?
TIA
Alberto
maybe you should just delete index.html, and index.php will be
Pushpinder Singh Garcha wrote:
Hello ,
I am using PhpMyAdmin to control my MySQL Database. Untill now I had
been using the Local Apache webserver to test my scripts, so I had
installed PhpMyAdmin in the 'Sites' Folder of my Mac. Now I need to beta
test the Application on the Live Server. Do
(
'http://www.weatherzone.com.au/yourHomePage.jsp?ref=f2eeb571ed' ) );
if( ($fp = fopen( 'wztest.txt', 'wb+' )) !== false )
{
fputs( $fp, $rContents );
fclose( $fp );
}
?
--
Cheers
-
Simon Angell
Canberra, ACT
www.canberra-wx.com
brought up with what comes after the ? in the
URL. now i figure it has something to do with the ? in the URL but i can't
seem to fix it myself.
Thanks
--
Cheers
-
Simon Angell
Canberra, ACT
www.canberra-wx.com
-
Proud member
something related
to the word itself interacting with the mbfunctions
I'm using PHP 4.3.0.
Thanks a lot!
Simon
Maybe this little file helps to see what i'm talking about: Copy paste away
html
head
meta http-equiv=Content-Type content=Text/Html; Charset=UTF-8
titlecoding-problem/title
Hi,
I have table with six records in it. I can use while to display them all,
but in form. Is there any way I can edit all six records, and update them
all with one submit.
TNX
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris Hayes [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
for [each $key, $value in $_POST]
{if (! strpos('field',$key)==false)
{ $key=explode('__',$key);
$ID=$key[1];
mysql_query(UPDATE mytable SET WHERE
What do you mean with update more same fields at the same time?Can
you give us an example?
Gvre
form name=form1 method=post action=
?
$query1 = SELECT * FROM table where subcat = $_GET[a];
$result1 = mysql_query($query1);
while($row = mysql_fetch_object($result1))
{
?
p
input
If you want to update all the records that have subcat = $_GET[a] with
the same values then you can do somethink like this:
$subcat = $_POST['a'];
$qsubcat = $_POST['subcat'];
update tables set
field1=$_POST['textfield'],field2='$_POST['textfield1']' where
subcat='$qsubcat'
I don 't
with the same data or not?
not with the same data
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in a big varchar column (size 5x50) and PHP parsing
them by comma after
fetching
or
- keeping those 5 columns with a lot of empty cells in the last columns?
Thanks,
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the question: which is better 5 varchar
columns of size 50 or 1 varchar column of size 250
(regardless of parsing).
Thanks,
Simon
---
the thing that may make difference in performance (as i think) is
whether
you make it a fixed -CHAR- or a variable -VARCHAR- it's preferable that
you
make separate char
I got a simple question. What do you have to do when you want to use
multibytestring functions under
PHP 4.3.0 assuming you're using the windows binaries and you're running
on XP?
Is it standard or do you have to adjust some things?
Cheers,
Simon
--
PHP General Mailing List (http
Is there a way to split a string without using something like this:
$keywords=preg_split(/[?!.]/, this ! Is a possible
test,PREG_SPLIT_DELIM_CAPTURE);
My php version doesn't seem to support the flags, and I want to know
which delimiter the string was splitted by.
Kind regards,
Simon De Deyne
as does to text it
might have an effect like this...
Anyone seen this before? Any suggestions/things to try? It's driving
me mad...
Thanks very much,
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have 6 records in mysql. How can i display all of them, but not using
while. Do i have to use 6 queries. Results need to be hard formated, so that
s the reason why i cant use while.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
and Mysql? Is it just copying the
Files from the Win PHP 4.3 ORC1 to my current php directory, and then
altering the php.ini file or are there other files
(such as httpd.conf) that should be reconfigured? If so, which files?
Thanks!
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
name or some sort of useful information and passing
it to the registered tick function.
Thanks for any help
Cheers
_
Simon Taylor
AfriTol (Pty) Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Hi,
Does anybody know where to find a pre-compiled Windows (XP) version of
PHP that includes multistring functions? I checked phpdev on firegpages
and other sites that usually hold these installations but their versions
don't support those multistrings yet. Any help/links are appreciated!
Simon
to remove attachments from emails and
store them on the server
On Monday 18 November 2002 07:34, Simon Chilmaid wrote:
Hi all
I have a script that is currently running on my server which intercepts
messages being sent into a specific address, it is piped to this through
an
alias in the aliases
] PHP Script to remove attachments from emails and
store them on the server
On Tuesday 19 November 2002 03:54, Simon Chilmaid wrote:
Thanks for your help Jason, have you got any examples that you might be
able to send me on how you have used reformime to decode email messages
Basically if you want
email message
and secondly if any are detected how can these be saved to disk locally on
the server that this is running on
Thanks
Simon
of
thing.. At the moment I use homesite which is pretty cool and makes all me
lines come out in pretty colours, but I am getting frustrated as things are
growing..
Thanks..
_
Simon Taylor
AfriTol (Pty) Ltd.
--
PHP General Mailing List (http://www.php.net
could use some ideas,
cheers,
Simon
201 - 300 of 521 matches
Mail list logo