[EMAIL PROTECTED] wrote:
Problem w/ reading a txt file.
The error I get is Warning: opendir(/home/pudlz/public_html ): failed to
open dir: No such file or directory
Here's my code::
$main = file('folders.txt');
$counter = count($main);
for($i=0;$i$counter;$i++)
{
if
Peppy wrote:
I've searched online and am unable to find how to increment by more than one in
a for loop.
for ($i = 1; $i = 6; $i++) {
Is it possible to increment $i by 5?
Everyone has responded with the correct answer, but you do realize that
this loop will only run twice? It will print 1,
Dotan Cohen wrote:
I am running php 5.0.4 at home on my Fedora Core 4 box. Post and get
variables are not available in my scripts. For instance, in
file.php?foo=bar the variable $foo is empty. Same thing for variables
passed in forms (get or post), which is how I came across this.
What could
Nahalingam N. Kanakavel wrote:
hi all,
If any scripts available to draw a list view.
Plz help me, by giving some links or scripts avilable with you.
What is a list view?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
Having a heck of time getting anything to work, can anyone make a suggestion
to the following.
I need a webpage that displays 5 recurring meeting dates, i.e. the second
Wednesday, Thursday, and Friday of each month in five different locations.
?php
echo Current
,
Burhan
[EMAIL PROTECTED]
-Original Message-
From: Burhan Khalid [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 11, 2005 6:55 AM
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] Date/Time Display for recurring monthly event
[EMAIL PROTECTED] wrote:
Having
babu wrote:
Hi,
how to convert DD.MM.YYand HH:MM:SS into mysql date( '-MM-DD' ) and time format. I think the time is same as HH:MM:SS.
[EMAIL PROTECTED] ~ $ php -r 'echo
date(Y-m-d,strtotime(str_replace(.,/,12.12.05))).\n;'
2005-12-12
Hope that helps :)
See http://php.net/date
Philip Hallstrom wrote:
Hello All,
I'm having some issues with carriage returns. Specifically the control M
character (^M). I have attempted to clean and validate the file I'm
creating. Here's the code.
while ($row = mysql_fetch_array($result)){
// assign and clean vars
$artist =
Philippe Reynolds wrote:
Greetings,
When I do an ifconfig in unix, I see the the IP address for the my
ethernet. It follows something called inet.
Would anyone know who to manipulate the socket functions to be able to
extract the inet IP address fromt the eth0 section??
?php
Jay Blanchard wrote:
[snip]
Now I am not worried about the time but I would like to know how to
(i) sort the returned rows in order (latest first)
add ORDER BY `yourdatefield` DESC to your SQL
(ii) be able to extract the individual parts of the date and display
them in
UK format
Have no
Louie Miranda wrote:
But when i try it on a image, that has been created with GD. It does
nothing.
I just want to confirm, it what im doing with the fonts possible thru
GD/Jpeg?
Please help, if this aint possible. I think imight purchase the PDFLib
instead to test the unicode support.
Anas Mughal wrote:
Could someone please share with me sample code for:
- Adding an XML node to an existing XML document.
http://www.php.net/manual/en/function.domnode-append-child.php
http://www.php.net/manual/en/function.dom-domnode-appendchild.php
- Modifying the value for a given XML
wayne wrote:
When I run a script from a package I download, it always
bombs out on this section. I think that its getting
the wrong parameters when it tries to make the Connection.
I use PostgreSQL as my DB.Moodle is the name of the database and
the user is moodleuser. I do not have a password
Jasper Bryant-Greene wrote:
Robert Cummings wrote:
On Wed, 2005-08-24 at 23:12, Jasper Bryant-Greene wrote:
Graham Anderson wrote:
Is there a way to loop thru all of these GET requests by:
putting the GET variables into an array
processing the variable strings with trim/striptags/etc in a
Jasper Bryant-Greene wrote:
Burhan Khalid wrote:
Jasper Bryant-Greene wrote:
Robert Cummings wrote:
[snip]
Still need to check isset() status unless you've disabled E_NOTICE
which
I don't advise since it's sloppy ;)
Yeah, I usually would in a real script. Just slipped my mind when
Michael Baas wrote:
Hi,
I have a script which works fine for many users, but for some it doesn't.
I've been able to narrow it down to the imap_open-Command which just hangs
'forever'. I have verified that the imap-extensions are available, but other
than that I have no ideas what's going on
Alex Scott wrote:
Hi there,
I discovered that our website was not working properly today (To my
horror).
Hosted on redhat enterprise 4.
I think that there is a problem with php 4.4 talking to Apache mysql 4.1
as the php pages which do not talk to the DB are working but other php
pages are
Saenal M wrote:
Hi,
Can we get information about hardware on client's PC. (e.g. hard disk,
processor, keyboard, etc).? And How?
anyone knows? please reply back.
No, this is not possible with PHP.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Tim Burgan wrote:
Can I extend this..
On a live server I have PHP 4.1. If I upgrade to PHP 5, is something
likely to stop working?
99% yes. Especially if you really mean 4.1.0 -- that's quite old.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Bagus Nugroho wrote:
I was uncomment php_mysql.dll and added php_mysqli.dll, put edited php.ini as
recommended, also added libmysql.dll on c:\winnt\system32. But it still doesn't work, it
still generate cannot load mysql extension,
Previously, I was edit system variables(edit Path
Roger Thomas wrote:
Am looking for code snippet to download file. It should be able to detect
mime-types. Thanks.
http://www.php.net/manual/en/function.header.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Alan Milnes wrote:
I'm interested in extracting a series of web pages from a Yahoo forum
and storing them in a MySQL database so I can generate things like most
number of posts etc. I've searched on Google but most of the links seem
to be for email harversters!
Anyone have any tips for
Sam Smith wrote:
shell_exec(zip -r ddd ddd); // don't work
safe_mode off, works from command line php. What could it be?
You need to give the full path to zip.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Brian Dunning wrote:
Hey all -
I have an unused Pentium box here, recent, well loaded with RAM and HD.
I want to turn it into a LAMP box. Never done that before; is there a
preferred one-stop-shop installer CD or anything (easy - knock on
wood)? It would be nice to end up with some kind
Thomas wrote:
Hi there,
How can I do something like this:
[snip - theoretical code] if( isset($step) ) echo step.$step() ) [/snip]
$step would be an int (I would check that before) and then I would have all
sorts of functions like step1(), step2() . etc.
Use call_user_func().
[EMAIL PROTECTED] wrote:
In a message dated 8/6/2005 10:59:44 P.M. Central Standard Time,
[EMAIL PROTECTED] writes:
As far as I know, it's not a shared hosting issue, but a permission issue.
The site admin has not given the user under which your php scripts run
permission to create
Mauricio Pellegrini wrote:
Hi ,
I wonder if it's possible to retrieve the value from a php session
variable from within a javascript function.
Does anyone have any ideas about this?
No. You cannot retrieve it, restore it, read it, send it, anything else.
You can write it from PHP :
echo
[EMAIL PROTECTED] wrote:
Hi,
How can i found out the average time users spent on a page. Anyone know a
tutorial?
Thanks in advance for your help !!!
PLEASE ONLY SEND YOUR MESSAGE ONCE!!!
Also, remember that google is your friend.
--
PHP General Mailing List (http://www.php.net/)
To
On Jul 29, 2005, at 8:07 PM, Tom Ray [Lists] wrote:
We built a box about 7 months or so ago using the SuSE 9.1 cd's,
straight install from the CDs. While I've read that sessions are
turned on by default, when we try to call on the sessions functions
(like with phpOpenChat or
On Aug 1, 2005, at 3:18 AM, Robert Cummings wrote:
On Sun, 2005-07-31 at 20:04, Sam Smith wrote:
I don't recognize this something(__SOMETHING__) format. I know
what it's
doing but I don't know how it's doing it.
Constants of the type __SOMETHING__ are historical constants for
retrieving
On Aug 1, 2005, at 5:45 AM, Roger Thomas wrote:
Quoting Jim Moseby [EMAIL PROTECTED]:
I'd repost the link for you, but I've already deleted it. Sorry.
Look back through the archives.
JM
I searched for 'Jim Moseby calendar' in the general and Dev mailing
list but no go. Anty clue?
On Jul 28, 2005, at 9:28 AM, Linda H wrote:
Hi,
I must admit I am surprised at the paucity of date and time
functions in PHP.
I have a date stored in a MySQL database in field of datatype date.
PHP doesn't seem to have a function I can use to format it for
print. I tried the following
suma parakala wrote:
Hi
I am retrieving data from postgresql and displaying it in form of table
in different rows.
my problem is when check box is clicked i need to change the color of
the row .agai when the check box is unclicked it should hold the old color.
Can any one please help me
Jasper Bryant-Greene wrote:
Jesús Alain Rodríguez Santos wrote:
Hello I'm new:
I need to know how can I stop a php sentence if my db is empty, for
example
I have writed a php sentence, if every fields from mmy db are full, there
is no problem, but I delete every values from the all fields in
Marek Kilimajer wrote:
Andy Pieters wrote:
Ok found the solution, seems like one page is on http://server.org.uk
and the other on www.server.org.uk even though its the same server it
generates a different session id!
set the domain of the cookie to 'server.org.uk', it's the fifth
Fredrik Tolf wrote:
Hi!
I've begun to be more and more displeased with Apache lately, so I've
been thinking of writing my own HTTP server instead. I still want PHP
support, but writing a new SAPI for PHP seems like overkill.
What's so bad about Apache?
Therefore, is it possible to use PHP
Please add OT to the subject if the topic has nothing to do with PHP. OT
= Off Topic.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Rasmus Lerdorf wrote:
Daevid Vincent wrote:
Is there a way to get the name of a variable as a string? For example...
Nope, not possible.
Well
ob_start();
echo '$var';
$contents = ob_get_contents();
ob_end_clean();
echo 'Variable Name is : '.substr($contents,strpos($contents,'$')+1);
Mark Rees wrote:
Ross [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a query
$query = SELECT * FROM sheet1 WHERE '$filter' LIKE '$search_field%'
Simply requery the database for each search. For example, this orders the
results by surname from a-z
$query = SELECT * FROM
Edward Vermillion wrote:
Bruce Gilbert wrote:
Hello,
I have a form on my site
http://www.inspired-evolution.com/Contact.php
produces this error on submission
Parse error: parse error, unexpected T_STRING in
/hsphere/local/home/bruceg/inspired-evolution.com/Thankyou.php on line
35
Well..
timothy johnson wrote:
$id = $_GET['id'];
$query = SELECT * FROM myPhotos WHERE photoId='$id';
$result = mysql_query($query);
$row = mysql_fetch_assoc($result);
$im = imagecreatefromstring($row[photoData]);
$size = getimagesize($im);
Bruce Gilbert wrote:
Hello,
I am trying to add a PHP search to my site and the read me file says to:
2. In the server, create a database in MySQL to hold Sphider data.
a) at command prompt type (to log into MySQL):
mysql -u your username -p
Enter your password when prompted.
b) in MySQL,
Chris W. Parker wrote:
Robert Cummings mailto:[EMAIL PROTECTED]
on Friday, July 08, 2005 5:25 PM said:
Thus siteMask should have one of the following values:
(1 1) == 2 // only site1 can use the product.
(1 2) == 4 // only site2 can use the
Joseph Lee wrote:
Hi,
I tried file() in the following lines:
?php
$authFile = file(/tmp/authenticate.txt);
print authFile = $authFile;
?
However, it only gave me
authFile = Array
What's wrong with this file function? I tried single
quotes, but got the same answer, too.
Nothing. You
Rasmus Lerdorf wrote:
[ snip ]
A better option may be to just use mod_rewrite. Something along the
lines of:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)\.html$ $1.php [T=application/x-httpd-php,L]
You should verify this with the mod_rewrite docs, but this should only
rewrite a
Alessandro Rosa wrote:
Thanks to all for clear responses!
So just a question now, why have not multiple constructors been implemented?
Are there some security issues related to them ?
As far as I know, its not a security issue, but a structure/design issue.
--
PHP General Mailing List
Brian Dunning wrote:
I am cross-posting this to the PHP and the MySQL lists because I'm not
sure in which technology my solution will lie.
I have a pretty busy PHP/MySQL site that executes the following query a
lot:
select count(*) as `count` from terms;
My MySQL account was disabled by
xfedex wrote:
Hi,
Has anybody use this function?
http://www.php.net/manual/en/function.imageconvolution.php
I dont know what a matrix3x3 array is.
This means three columns and three rows:
x x x
x x x
x x x
^ Like that.
And so, if someone has experience on random image generation, it would
Jay Blanchard wrote:
[snip]
and box of bending straws.
[/snip]
Nice.
LMAO -- and now, back to the show.
For those that really were looking for a xml-based templating enging,
IBM's DW has one that you can download the source to. Its not PHP, but
hey, its a start. Google for
Robert Cummings wrote:
On Fri, 2005-04-29 at 23:55, Rasmus Lerdorf wrote:
Robert Cummings wrote:
I don't think that templates have a dependency between the number of
pages using the template and an increase in the number of functions. In
fact depending on the template, and the template
Richard Davey wrote:
Hello Graham,
Friday, July 1, 2005, 12:54:42 AM, you wrote:
GA if $_SERVER['SCRIPT_NAME'] give this
GA /folder/folder/Library/php/filename.php
$_SERVER['SCRIPT_NAME'] won't give you that,
$_SERVER['SCRIPT_FILENAME'] would.
SCRIPT_NAME would just give you
Andrei Verovski (aka MacGuru) wrote:
Hi,
I have a PEAR-related question. My class library using some PEAR
packages, and I would like to make it self-contained, i.e. to be able
to move it to a server (for example MacOS X) which do not have (and
will not require) installation of any PEAR
John Nichel wrote:
SPAMMERS lose again!
Off to /dev/null with you and your technology.
We really need moderators on this list :(
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dan Rossi wrote:
Hi there, an internal client of ours requires spell checking in their
textarea forms on names of people for searching thousands of records
properly. What it needs to be able to do is add new names to the
dictionary. The server its on is a few years old, it already has the
Pedro Quaresma de Almeida wrote:
Hi
I have two databases, on for aeromodelistas (aeromodelling) and
another for Códigos Postais (Postal Codes). I whant to do the
following query
SELECT CódigoPostal FROM Aeromodelistas
WHERE CódigoPostal IN
(SELECT distinct(CP4) FROM
Dotan Cohen wrote:
Ill I knew about, its I didn't. I didn't mean to put ill in there...
Should I enter each contraction twice (for the capitalization), or
should I try to do something smart so that the capitalization will
happen automatically. The 'I' contractions are special, I will deal
with
Daevid Vincent wrote:
You are on to something. Maybe I did get an email with a confirmation.
I could swear it was via their website though...
There are some pretty crazy Thread-Index: and UID: things in there.
Do I have to generate them somehow?
Anyways, for those interested, this is what
Marcos Mendonça wrote:
Hello
I'm using PHP 4.3.9, under Windows XP with Apache.
I have the following directory structure on a given app, i'm working on.
photos/
folder1
folder2
folder3
... and so on
I'm trying the following code to make a list of folder under
Bosky, Dave wrote:
I need to find a way to allow users to select multiple files from a list
and generate a single PDF file from them.
http://www.fpdf.org
http://php.net/pdf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jack Jackson wrote:
Hello,
On a site I'm listing measurements in both inches and cm; in the db
they're stored as inches. To convert them to cm I'm doing:
?php echo ($cartoon['art_width'] * 2.54); ? x ?php echo
($cartoon['art_height'] * 2.54); ? cm
How can I limit the result of that math
Merlin wrote:
Hi Burhan,
you posted a while ago to the php user group:
This is an example of what my script outputs :
http://meidomus.com/code/captcha/
Source available if you are interested.
I would be interested to try that code and alter it to fit my needs.
Would that be possible?
Murray @ PlanetThoughtful wrote:
Hi All,
Just wondering if anyone knows of a free weather service that can be
interrogated by PHP for information such as current temperature for a range
of cities around the world?
iirc, weather.com provides a XML feed of such information. Free signup.
--
PHP
Jon wrote:
I have not used curl before and it looked interesting from the manual.
So, does anyone have a sample script or a tutorial that covers the logon
procedure.
What I want to do is logon to an asp site and download some files. Can
someone point me in the right direction? I have done
Jochem Maas wrote:
Richard Lynch wrote:
On Mon, June 6, 2005 1:54 am, yangshiqi said:
I have a php application (let's call it app A) which is developed
separated
in a test domain name, like http://testa.xxx.com http://testa.xxx.com/
/.
But now I have to move it to another app (called B)
Merlin wrote:
Hi there,
I am getting more and more emails through my webforms submited by bots.
It looks like some sites liky yahoo are placing an image into their
forms and the human has to enter a code visible on the image to submit
the form.
After some googling I found captcha, but I do
Merlin wrote:
Burhan Khalid wrote:
Merlin wrote:
Hi there,
I am getting more and more emails through my webforms submited by bots.
It looks like some sites liky yahoo are placing an image into their
forms and the human has to enter a code visible on the image to
submit the form.
After
xfedex wrote:
Hi,
Anyone know if theres a way to disable this feature for user using old
browsers or not suporting JS/XML?
Look up noscript
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Vlad Golodov wrote:
Hi All!
are here any people who have tried to develop php application using CVS?
What programms have you used for it? CVS should be located on the internet.
I have used CVS before (since its available in Zend Studio) and have had
to do a bit of reconfiguring of Zend
Richard Davey wrote:
Hello Mário,
Friday, May 20, 2005, 4:48:07 PM, you wrote:
MG http://www.bar.com/[EMAIL PROTECTED]code=vu782
MG for testing, but it does print nothing. So, i'm not getting the
MG parameters from the URL. I have register_globals=Off in php.ini
Jumping in a bit late here,
Jeremy Reynolds wrote:
What function do I use to convert an ASCII character into it's
equivalent number?
http://php.net/ord
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Lynch wrote:
On Tue, May 24, 2005 2:08 pm, Murray @ PlanetThoughtful said:
I'm wondering if anyone knows of a 'db aware' text editor? By 'db aware',
I
mean one that can pull a recordset back from a local MySQL server and edit
the content of fields much like a standard text editor does
Jim Sara Feldman wrote:
Hi:
I have recently upgraded from a Mac G4 running OS 10.3.9 to a G5
running OS 10.4. I ported a working PHP app and upgraded from PHP 4.3.4
to 4.3.10 and MySQL 4.0.17 to 4.1.11. I am having a problem connecting
to MySQL from PHP.
I can connect to the
Richard Lynch wrote:
On Tue, May 24, 2005 7:24 am, Rahul S. Johari said:
Im trying to delete all files in a folder based on a string match with
the
following code:
?
$dir = '/Library/WebServer/Documents/something.com/subfolder/';
$dp = opendir($dir) or die ('Fatal Error: '.mysql_error());
Chris Shiflett wrote:
Andy Pieters wrote:
I am looking at where I can get my system tested for penetration.
[ snip ]
You might want to check out the links Christophe mentioned, as these
provide free advice, which seems to be more along the lines of what you
want.
I recently stumbled
Brian Dunning wrote:
I need to write a cron job that retrieves a zipped XML file via FTP,
unzips it, and then imports the XML into MySQL. I haven't done any of
these three specific functions yet. Before I tear my hair out on each
of these functions, can anyone point me to a simple example of
hima wrote:
Hi all,
I am trying to apply syntax coloring to my source code
as I type it in unix shell. I work on a mac machine.
How do I achieve this.
In the php.ini file I see these following lines
commented out.
; Colors for Syntax Highlighting mode. Anything
that's acceptable in
; font
Jay Blanchard wrote:
[snip]
This is going to a very naive question, but how do I make mysql work
with
PHP 5? I run PHP on IIS on Windows 2000. Help!
[/snip]
Read the instructions http://us4.php.net/mysql
Also See http://www.php.net/manual/en/install.windows.extensions.php
--
PHP General Mailing
Ross wrote:
I want to write a string to a variable and use $_POST or $_GET to retrieve
it on another page.
I keep gettting an undefined index errror. Can someone show me how this is
done?
Do I have to use session_start() ?
This would be ideal.
Have checked the documentation, can't find a
Richard Lynch wrote:
On Fri, May 13, 2005 12:20 pm, Faith Emre YILMAZ said:
anyone knows how to change php ini location?
I m using php5, apache 1.3 on windows xp.
Re-compile.
Since that's not practical for most users, you just have to use whatever
phpinfo says is the right directory.
Add :
#
Merlin wrote:
Hi there,
I am curious if PHP is now able to pars xml without aditional tools like
xmlrpc.
If yes which version is required? Is the current php 4.x tree sufficient?
4.x requires the expat parser (so I guess it would require external libs).
5.x has the simplexml extension (which I
Greg Donald wrote:
On 5/10/05, Juan Pablo Herrera [EMAIL PROTECTED] wrote:
Hi!
I using php version 4.3.10. I have a script that used the exec
function. Well it script only work from shell, but not work form web
browser.
My php.ini:
safe_mode Off Off
safe_mode_exec_dir no value
Merlin wrote:
Burhan Khalid wrote:
Merlin wrote:
Hi there,
I am wondering if there is a function (I could not find) which does
the same thing like strpos does, but with an array.
For example:
$replace = array(picture, pics);
$pos = strpos ($term, $replace);
//if ($pos !== false
[EMAIL PROTECTED] wrote:
Hi all.
i've checked the PHP manual but can't find a function for this, perhaps I'm
missing something.
I get a resultset and loop through it but this is in a loop so it only executes
the first time. is this because the resultset is at the end? is there a way to
tell PHP to
Mary-Anne Nayler wrote:
Hi Mark,
As far as I can see the only problem is that you have forgotten to add a
semicolon after the i++
Mark:
Since you are not displaying the counter, you really don't need to
mess with $i.
You can reduce your code to just :
?php
$db = mysql_connect(localhost,
Jay Blanchard wrote:
It has come to a point where a vendor is requiring that we use SOAP to
access a service that they provide, so I need some recommendations...
a. Do I build my own request/receipt functions.
2. Do I use something like nusoap or Pears' SOAP classes?
Would those of you who are
Merlin wrote:
Hi there,
I am wondering if there is a function (I could not find) which does the
same thing like strpos does, but with an array.
For example:
$replace = array(picture, pics);
$pos = strpos ($term, $replace);
//if ($pos !== false) {
if (in_array($term,$replace)) {
Ryan A wrote:
clip
Your looking at something like. For ages between 21 and 23
$Upper = date(m-d-Y, mktime(0,0,0,date(m),date(d),date(y)-22));
$Lower = date(m-d-Y, mktime(0,0,0,date(m),date(d),date(y)-23));
$sql = SELECT field1,field2,field3 FROM `table_name` WHERE `age`
BETWEEN . $Lower . AND .
Murray @ PlanetThoughtful wrote:
[ snipped ]
when u upload it name it dynamiccaly by appending date and time before
the file name
like this
2005050501010-filename.jpg
Hi, yes, I'm already doing this. Conflict of filename isn't my issue -- it's
whether or not the file should be uploaded at all, in
William Stokes wrote:
Hello,
Is it possible to delete a session cookie from browser? If so how?
http://www.php.net/manual/en/function.session-destroy.php
See the example.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Davey wrote:
Hi all,
[ snipped ]
I'm interested in knowing of any problems I should be looking out
for while designing this - what happens to Japanese characters for
example when stored in a MySQL text field? Any issues re:
displaying them again once extracted? Or on validating
Mark Sargent wrote:
Mark Sargent wrote:
Hi All,
I've installed phpmyadmin and have a snort database in mysql, but, it
doesn't appear in phpmyadmin. I know it's there, because base is using
it to display info from snort on the machine. Why wouldn't it appear
in phpmyadmin. It appears with the
NSK wrote:
We have two kinds of arrays in PHP:
$array[name] = George
$array[0] = George
How can I determine (with a function returning true/false for example) which
type of array I am working with?
There aren't two kinds of arrays, there is only one array type:
There are no different indexed and
Andy Pieters wrote:
Hi
Whilst you are searching the net, you might also want to search for 'sql
injection'. This is no joke!
Please use the mysql_escape_string on each variable you get from the user
side.
Use mysql_real_escape_string() instead.
--
PHP General Mailing List (http://www.php.net/)
Micha Biegnolé wrote:
Hi, I am a student of multimedia design.
I have two tables in a database with one same column(column:Name).
I ask data from table1 collumn:Name. In table2 I want to use the return of
data from table1 and search table2 collumn:Name for other information. I
tried joined SELECT,
Marcelo Volmaro wrote:
Hi,
Ive made a simple site with a loguin, that in my machine works
perfectly, but not on the server.
The problem seems to be on the session handling. I dont loose the SID,
but the session gets corrupted.
If I do a print_r($_SESSION), after the loguin i get the correct
Yuri Huitrón Alvarado wrote:
running whoami in php returns : root
Are you saying that you typed 'whoami' from a shell, and it gave you root.
Or are you saying that when you did ?php `whoami` ? you got 'root'. If
this is the case, then you are running a big security risk if your PHP
scripts
Jay Blanchard wrote:
[snip]
I wouldn't lose sleep over it. I think the people here at work are
actually making fun of me when they 'changed my title'. Maybe it's
because at almost 40, I still collect comic books, and watch Star Trek.
:o
[/snip]
Well, I'm between 45 and 50 and still collect
Kim Madsen wrote:
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 9:36 AM
Well if other has rw then it doesn't really matter who owns the file.
My point exactly!
What does the php error log say?
Samething as on the site:
Apr 6 10:16:12
William Stokes wrote:
Hello,
I need to test if a variable value is 3 or 6 or 9 or 12 or 15 or 18 ... goes
on like this.
How this can be done?
if ($var % 3 == 0) { echo $var. is divisible by 3; }
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
Hi,
I have been investigating ways of preventing automated account
creation on the e-commerce system I am currently working on. Obviously I
have seen the graphical solutions to this problem, a small image containing
several letters and numbers which must be
1 - 100 of 509 matches
Mail list logo