"Robert Sossomon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> My IF statement should be picking up on the numbers, and if the number
> matches not be displaying out the information, however I look at the
> outputted page and the information is still there, what have I got wrong
>
"Tyler Replogle" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hey,
> i didn't quite get when you ment by that but have you tried using
> $DOCUMENT_ROOT before your path, that might help it will be something like
> this
> require_once('$DOCUMENT_ROOT/test/db.php');
> $DOCUMENT_ROOT
ecessary stuff. This has served me well for over a year now.
Are you interested?
Regards,
Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Anderson Ouriques" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I would like how use the image functions to put one water-mark in other
> image.
> I can't use with alpha functions.
> I use PNG format.
Maybe this is what you're looking for:
http://phparch.com/news/1242
R
"Noel Da Costa" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Anyone know what might stop the $PATH_INFO variable from working? I
> developed a nav system using this which works on the test server, but not
on
> the live server. I'm guessing this is something to do with the
"Noel Da Costa" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks for the thought...
>
> I was using getenv('PATH_INFO'). I tried $_SERVER['PATH_INFO'], but it
> didn't help.
>
> PATH_INFO is working, ie being filled, but Apache doesn't seem to know
what
> to do with it. So if m
"Richard Davey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> It's a warm sunny day and I'm trying to wrap my head around the
> following:
>
> I want to be able to check to see if, in a string, the user has
> entered too many consecutive characters and not enough spaces.
This is more of a JavaScript than a PHP question. Maybe you could search
google for 'stop JavaScript function' or something.
Torsten
"Jeff McKeon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> [snip]
> Is this possible?
> [/snip]
>
> Anything is possible!
>
> Have you considered
"Johannes Reichardt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi there,
>
> i don“t know if this is the right place to ask but since there are a lot
> of cracks around i thought i throw this in here. actually i am using
> typo3 (www.typo3.org) a full-blown, extendable cm-framew
This is more of a Javascript/Style Sheets question than anything else. Try
your luck on a JS/CSS mailing list.
Regards, Torsten
"Gowthaman Ramasamy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hi list ,
> In the web page, i display different bars (actually tables with single
> c
"Anton Krall" <[EMAIL PROTECTED]> wrote in message
news:!~!UENERkVCMDkAAQACABgAyt+Udpm8KEiSEdKfabIEWMKA
[EMAIL PROTECTED]
> Guys.. Ive been wondering this.. when you visit microsofts update sites,
if
> you click on look for updates, it loads something into your computer, an
This is possible without problem. Just start your session in every script
and forward the session id from your frameset (which is probably the first
page to be called by the user) to each frame:
frames.inc
--
?>
Make sure to put the session start code at the top of EVERY page.
l_fopen = On' in /etc/php.ini. I'll take a
> closer look later and report the problem if I find it. Thanks again,
>
> Daniel
Using the absolute path works as well - but you have to use the full LOCAL
file path, e.g. /htdocs/www/your-domain etc.
You can get this value from $_SERVER[&
"David David" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> Does anyone know of an open source "user/group" based
> permission system built with php/MySQL?
>
> That is, the effective rights for any user on a
> specific secured object are computed from various
> permit/den
"Oliver Hankeln" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi!
>
> I get memory exceded errors and want to find out why. So I am looking
> for a way to determine how much memory is currently beeing used by my
> script. Is this possible?
> getPID + reading from /proc dosent work
"Ryan Munevar" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hey Guys,
>
> Question 1: Does anyone have a really good php form validation script
> for Zip-codes?
>
> Question 2: Does anyone know of a great depository of form validation
> scripts for all kinds of form inputs?
Take
"Lee 03" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> i am a beginner for php programming, my OS is win98 while my webserver is
PWS, all is in the same machine,when i try to run my internet explorer( type
in http://localhost/phpinfo.php), phpinfo.php cannot be display.
>
> i try
"Jianping Zhu" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have mysql table call com. One colum of table com will store
> user's comments. Because user-provided comment might be too big to fit in
char(255), i
> use blob. but when i try to see it by use phpmysqladmin, i can only
"Edward Peloke" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am currently working on a site for a vacation rental company. They
want
> the ability to show users the availability of certain properties. The
> availability will be held in a mysql db so I assume I will have to
> d
"Daniel Barbar" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I'm almost ashamed to ask this question as surely enough the
> problem is something very basic but, nonetheless, I can't put my finger on
> it. I'm trying to implement the concept of a library (librar
> Try including it as a local file:
> require_once library.php'; // if it is in the same directory as the file
you
Forgot a quote here, sorry:
require_once 'library.php';
Torsten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>>>
"Curlybraces Technologies Ltd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
hi ,
i want to export data in mysql to excel .. but problem is mysql runs in the
linux machine ,
How can i get that data from mysql-Linux machine to windows-Excel machine ,
plz help asap
thanx in advan
"Alessandro Vitale" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I am currently running a web application which has an increasing number of
> users. The application uses PHP sessions. As administrator, I would like
to
> know which users are currently logged in. Any brie
"Gowthaman Ramasamy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hello list,
> can we split a string into substrings of particular size.
> for example ..
> i have as sting of 1000 characters. can i split it into stings of 150
> and feed them into an array.
>
This should be EXACTL
"John" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> is there any code or function out there that gives you a thumbnail of an
> image in the size and compression means you specify?? ive been looking,
but
> found nothing, youd think thered be a function
>
> --
> *
"Amanda Hemmerich" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Also, the cheaper, the better, and free is best!
Older versions are available for free but may not be used commercially:
http://www.aditus.nu/jpgraph/jpdownload.php
Regards, Torsten
>
> Thanks again.
>
> On Mon, 10
"Edward Peloke" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> won't the gd library do this?
>
> http://www.php.net/manual/en/function.exif-thumbnail.php
>
> if there is a better function..I am interested in it also as I have to do
> this something this week for a project.
>
> Thanks
"Mike Mapsnac" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I search on php.net and couldn't find the function. I need a function that
> will remove characters in the string until it reached the pattern and
> remove characters in the string after another pattern.
>
> The program r
te05Oct2004
>
> No characters before Philadelphia and after 20004
Is the character you want to remove ('t') always the same?
Torsten
>
>
>
>
> >From: "Torsten Roehr" <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: [PHP] Re: Remove cah
"Verdon Vaillancourt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi :)
>
> I'm trying to put a stop in a foreach statement following the user
> suggestion here, php.net/manual/en/control-structures.foreach.php
>
> Not really knowing what I am doing, I am running into some synatx
> > This is my attempt to count items and put a stop in the foreach so it
only
> > returns 5 items.
> >
> > foreach ($this->_content as $n => $item) {
> > if ($n=="5")
>
> > break;
> > } else
>
> > if ($this->_content[$n] => $item['type'] == 'item'){
> > $element
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Torsten Roehr ([EMAIL PROTECTED]):
> >
> > Sorry, I mixed up the for and the foreach syntaxes. Here my (hopefully
> > correct) loop proposal:
> >
> > for ($i;
"Matthias H. Risse" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi again!
>
> Question:
> Does anyone know of a possibility to exclude files which
> have been included _before_ my script starts on the
> fly (e.g. at the first lines after the entrypoint) ?
>
> Reasons:
> This ISP
>"Dave Carrera" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>Hi List,
>
>I think this a complicated sql query but I am sure one of you gurus will
>show me how easy this is.
>
>I am doing a search script an have it finding multiple words and
>highlighting those words.
>
>Now my issue
>"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>[snip]
>This is more of a HTML than a PHP question, but anyway:
>It doesn't matter where you put the buttons as long as they are INSIDE
>the
>form-tag and have different names.
>[/snip]
>
>Actually you can name them all t
"Paul Higgins" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I'm on a shared server, and I do not believe that I have access to the
/tmp
> directory where the session files are stored (I believe that is how it
works
> :). I want to keep track of which sessions are activ
et started just post on the PEAR mailing list. The session
table has a timestamp column named expiry which will make it easy to count
the active sessions. By the way, doing the DB session count should also be
faster than counting the files in your /tmp dir ;)
Regards, Torsten
>
> Thanks
>
"Aaron Wolski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> Was wondering if someone had any idea's on this logic and if it'd work,
> before I tried to implement it:
>
> Within the tags I have my buttons - Publish, Unpublish,
> New, Edit and Delete.
>
> Next I have a t
"Adam Voigt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, 2004-05-07 at 13:47, Torsten Roehr wrote:
> >
> > This is more of a HTML than a PHP question, but anyway:
> > It doesn't matter where you put the buttons as long as
"Tim Traver" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can any admin remove this user from the list ?
>
> "Advance Credit Suisse Bank" <[EMAIL PROTECTED]>
>
> Every time I post, I get an autoresponse from that address...
>
> Anyone else get that ?
Unfortunately, yes.
Torsten
"Kim Steinhaug" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Well,
>
> I would include another hidden field and name it something like "ACTION".
> I would also include a checkbox on every item you want to do something
with
> like this :
>
>
>
> Then use javascript on your actions
ople when it comes to binary numbers:
> those who understand them, and those who don't.
> --
> www.steinhaug.com - www.easywebshop.no - www.webkitpro.com
> --
>
&
"Chuck Barnett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Anyone have any code snippits that would allow me to do a "Last 3 Items
> Viewed" like on ebay?
>
> Thanks,
> Chuck
Why not mark your records with a timestamp at every view and then do a
limited select sorted by the time
"Alex Hogan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have asked a lot of questions in the last few weeks, but I do try to
> preface those questions by checking out the php.net online manual first.
>
> Anyway, here is one way to do it. There are probably more elegant
> solut
"Elliot J. Balanza" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Actually you are right the problem is not in the proccess of writing to
the
> database, the problem is that after writing to the database it wont "jump"
> to the next function it wont go to login() or any other functi
"William Stokes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello
>
> I need to open a popup window from my php page . The information displayed
> on this popup depends on a variable value on the first page. How do I
> paste/move the variable value to the popup window. The popup
"Frederic Noyer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello there !
> I am trying to fill and then compare two arrays: one filled by a
> foreach construct, and the second by a while construct.
> I check both with a print_r to be sure that both are correctly filled
> (which
"Frederic Noyer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> On 30 avr. 04, at 11:00, Torsten Roehr wrote:
> >>
> >
> > I think this is correct because the 3 key/value pairs from the first
> > array
> > are NOT in the s
"Frederic Noyer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> On 30 avr. 04, at 11:31, Torsten Roehr wrote:
>
> > "Frederic Noyer" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >>
> >> O
"Brandon Goodin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I noticed this notation in one of the PEAR packages @session_start()? What
> is the purpose of the '@' sign?
It suppresses/ignores any error output for this function.
Regards, Torsten
>
>
>
> Thanks
>
> Brandon
>
>
-
"Kim Steinhaug" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Often I end up using a "dumb" IF statement which to me seems that
> it could have been done some other way.
>
> Example :
> if(
> ($_GET["id"]==1) or
> ($_GET["mode"]=="home") or
> ((!isset($_GET["item"])) &&
So the problem is not the delete statement but that you cannot even open a
connection, right? Have you tried PHP's ODBC functions to connect to the
Access DB?:
http://de.php.net/manual/en/function.odbc-connect.php
There are some user comments regarding Access - maybe this helps.
Regards, Torsten
"Draw-A-Line" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hallo,
> ich hoffe mir kann jemand bei folgendem Problem helfen. Habe ein Formular
> erstellt und darin ist ein "file field" eingebettet zum Hochladen von
> Dateien (z.B. Word-Dokumente). Habe den Zusatz
enctype="multipart/
"Msa" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > 'SELECT * FROM table WHERE YEAR(date) = ' . date('Y') . ' AND
MONTH(date)
> =
> > ' . date('m') . ' ORDER BY SORT DESC'
> >
> > What column type is your date column of? I know that the above statement
> > works with the MySQL dat
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> msa wrote:
> > My date format is as aboveI am getting the following error message:
> >
> > You have an error in your SQL syntax. Check the manual that corresponds
to
> > your MySQL server version for the right synta
"Msa" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > date('m') was not parsed by php as it was in the string. Syntax
> > highlighting would help you see it. Try:
> >
> > "SELECT * FROM NewsArchive W
"Daniel Clark" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Are you looping through the record set?
>
> >> "SELECT * FROM NewsArchive WHERE YEAR(date) = '" . date('Y') . "' AND
> >> MONTH(date) ='" . date('m') . "' ORDER BY sort DESC";
> >
> > Well, still not working...but maybe
"Msa" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> "Daniel Clark" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Are you looping through the record set?
>
> i thought I was, but it isn't working!!
>
> here is the code with all of the latest suggestions.
>
>
"Richard Harb" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> More often than not it's a good thing to assign 'default' values to
> class variables like that.
>
> In this case though I've observed that common practice is to get the
> user/pass values from a config file and pass them
"Told" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I can't make session work if I set "session.use_trans_sid = 0", or I must
> append SID to the URI to get session work.
> And, the cookie works OK.
>
> Here is my test code:
>
> session_start();
>
> if (!isset($_SESSION['test'
"Anthony" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've run into a bit of a problem, that I know has been dealt with before,
> but I don't know how to deal with it. Very simple, I have an application
> that needs to do calendar math and do it specifically on business days. I
"Ronald "The Newbie" Allen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How would I carry a variable from one page to another
>
> Here is what I mean
>
> I have a send.php page and this is sent to
> insert_into_database.php where the values of the previous page are
inserted
> into
ue
with '">
This should work.
Regards, Torsten
>
>
> check.php
> $event = $_GET['Event_Type'];
> echo "$event";
> ?>
>
> This is still not working for me
>
> "Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
"Ronald "The Newbie" Allen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Here is my problem:
> When I get the value of $date and I echo it it shows up just fine
>
> $date = date("Y-m-d H:i");
> echo "$date";
> 2004-05-15 16:20
>
> but when I go to insert the value into a form like
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Ronald "The Newbie" Allen" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Here is my problem:
> > When I get the value of $date and I ec
nts would be greatly
appreciated. Thanks in advance!
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"David" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all
>
> I have been using mysql as the database for my PHP application.
> Now my manager ordered me to use Microsoft SQL Server as the database.
> I have been using the mysql interface to access the database, so I have
> to ch
"Vans Hallden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >Here is one way:
> >(probably not the best)
>
> I was able to get almost everything working with your help. Thanks!!! :)
>
> >>average ages for male/female respondents (database column 'age')
> >
> >SELECT AVG(age) FROM t
>"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
ews:[EMAIL PROTECTED]
>[snip]
>I have a table whereby I use the php date() and time() function.
>
>I retrieve the data etc, no problem.
>
>but I now need to perform a query of between dates.
>
>Is there a function or method to perform this.
>[/
"Gabe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Environment:
> PHP 4.3.6
> Access DB
> W2K IIS 5
>
>
> I'm trying to store a date in a date/time field using the short date
> format ( m/d/ ). For some reason it won't let me post an empty
> value to that field in the DB. I'
"Gabe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Torsten Roehr wrote:
>
> > "Gabe" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> >>Torsten Roehr wrote:
> >>
> &
"Gabe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Torsten Roehr wrote:
>
> > "Gabe" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> >>Environment:
> >>PHP 4.3.6
> >>Access D
"Gabe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Torsten Roehr wrote:
> > "Gabe" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> >>Torsten Roehr wrote:
> >>
> >
"Blake Schroeder" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> What is wrong with whis syntax:
> $array = array("$_POST['input_1']","$_POST['input_2']");
You don't need the double quotes:
$array = array($_POST['input_1'], $_POST['input_2']);
Regards,
Torsten
--
PHP General Ma
"Michael R. Wayne" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> I've posted several times mentioning that I am completely unable
> to cause sessions to persist. Over the intervening time, I have
> replicated this problem to a different machine, with the same
> results. Here's a
"Michael R. Wayne" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, May 21, 2004 at 08:04:00PM +0200, Torsten Roehr wrote:
> >
> > As far as I remember session.use_trans_sid does NOT work with forms
(action
> > attribute). Have you trie
always why. Inserts don't happen very
> often in my apps so compatibility accross multiple dbs is more important
to
> me than speed. Finally, is this the right place to ask questions about
MDB2,
> or is there a more specific group for discussing Pear projects?
>
Please send you
ts=>['eenie','minie']),
> p,
> "What's your favorite color? ",
> popup_menu(-name=>'color',
>-values=>['red','green','blue','chartreuse']),
> p,
> submit,
>
"Michael R. Wayne" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, May 21, 2004 at 08:35:37PM +0200, Torsten Roehr wrote:
> > Sorry, I'm an idiot! The ? was missing:
> >
> >
> >
>
> Well, I spoke too soon. It d
"Ian Barnes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> [code]
> $file=file("/ian/testing.file"); file://Load the file into array
> unset($file[0]); file://Remove the first #gc line
> foreach($file as $line){ // Run through each array line
> $array[]=ex
"Electroteque" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi there, I was wondering if there is a standard pear class like the
> XML_Tree to build RSS/RDF documents from the database ? Let me know
You just had to go to pear.php.net and type rss into the search form - not
too muc
"Ian Barnes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> [code]
> $file=file("/ian/testing.file"); file://Load the file into array
> unset($file[0]); file://Remove the first #gc line
> foreach($file as $line){ // Run through each array line
> $array[]=exp
"Electroteque" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> >
> > You just had to go to pear.php.net and type rss into the search form -
not
> > too much effort, right?
> > http://pear.php.net/package/XML_RSS
> >
> > Regards, Torsten
> >
>
> Hi there, if you read my email properl
"Bill Freeburg" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> how do I add newline commands in the middle of a text string?
>
> I'm sending an email with the function
> mail($sendto,$subject,$message,$headers)
>
> The message is
> $message = "My name is " . $myname . " My favorite
"1";
> $array['a']['b'] = "2";
> $array['a']['b']['c'] = "3";
> $array['a']['b']['c']['d'] = "4";
>
> What I need is to be able to somehow print out the
"Richard Davey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Torsten,
>
> Sunday, May 23, 2004, 6:44:08 PM, you wrote:
>
> >> $array = array();
> >> $array['a'] = "1";
> >> $array['a']['b'] = "2";
> >> $array['a']['b']['c'] = "3";
> >> $array['a']['b']['c']['d'] = "4";
>
> TR
Haven't followed this thread yet. Are you using cookies or passing the
session id via GET?
Regards,
Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tr($check,0,4));
if ($timestampCheck >= $timestampStart && $timestampCheck <= $timestampEnd)
{
// do what you want
}
Haven't tested it. Hope it works for you.
Regards,
Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27;re diving into the PHP core, have you tried using a DB (MySQL) as
the container for your session data? You could easily set up a test script
with PEAR's DB and HTTP_Session. I'm using this configuration and my
provider just upgraded to 4.3.6 - no problems at all.
http://pear.php.net/p
source code. It includes a DB session
container:
http://pear.php.net/package/HTTP_Session
Regards,
Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Hardik Doshi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi group,
>
> I have discovered a strange behaviour while using
> session. I have a page from which i am opening other
> pages using target = "_blank" element. Now when i open
> the child page, it doesn't get $_SESSION val
DED TO,
>
> if($file){
> print("File name: $file_name/n");
> print("File size: $file_size bytes/n");
This should be:
if (isset($_FILES) && isset($_FILES['spec'])) {
echo 'File name: ' . $_FILES['spec']['name'] . ''
goodbye
>
> how do I clear the screen so the end results looks like this:
a.php:
echo 'hello';
header('location: b.php'); exit;
Regards,
Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if I put in
> $composer$countything that will just output the value of $composer
followed
> by the value for $countything, but I want it to output the value for
> $composer1 if $countything=1 or $composer10 if $countything=10 . Is there
> something I can do with variable variables? I co
Maybe you could use a ready-made package such as PEAR's Mail_Mime:
http://pear.php.net/package/Mail_Mime
Regards,
Torsten Roehr
"Matt Macleod" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've been having a little trouble configuring a script to s
"I.A. Gray" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks, Torsten. That clears things up quite a bit. I do find the PHP
> manual a little heavy going sometimes. Does this mean then that I have to
> do this:
> $tempcomposer = 'composer' . $countything;
> $tempsubheading = '
','PHP') group by
> name;
You are missing the closing quote here!
Please set your error reporting to E_ALL while developing:
ini_set('error_reporting', E_ALL);
Regards, Torsten Roehr
> $mysql_rslt1 = mysql_query($sql, $mysql_bconn)
> or die ("Could
fault based on
the previous search.
>
>
> >Make Selection
> $i = 1;
> while($row = mssql_fetch_array($result))
> {
> $v = $row['loc_id'];
> $n = $row['loc_city'];
> echo "$n";
> }
Try this:
while ($row = mssql_fetch_array($result)) {
> > / begin code demo
> >
> >
> > function formatDate($val)
> > {
> > $arr = explode("-", $val);
> > return date("M d, Y g:i A", mktime(0,0,0, $arr[1], $arr[2], $arr[0]));
> > }
Hi Matt,
try this:
function formatDate($val)
"Ashwin Purohit" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi everybody,
>
> I have this script in a file that allows users to upload files, and I want
> to know who submitted what so I write $userfile_name and $credit1(their
> name) to CREDIT.txt in the same directory like so :
101 - 200 of 331 matches
Mail list logo