[PHP] Re: What to do with my array?? Advise needed....

2004-03-04 Thread Ospinto
You are trying to pass the values in the array unto the next page? Well, try the serialize() function. With this you can have a single hidden field with all the values of a huge array stored in it and passed to another page. Hope this helped. "Ryan A" <[EMAIL PROTECTED]> wrote in message news:[EM

RE: [PHP] looking for php talent...

2004-03-04 Thread Jason Davidson
what are the apps? <[EMAIL PROTECTED]> wrote: > > Rasmus, > > Thanks for the positive response. That said. > > We are looking for a few select/skilled Web Developers for a few > apps/projects that we want to create. The apps are not trivial, and should > take a good team of 5-6 developers 3-4 m

RE: [PHP] looking for php talent...

2004-03-04 Thread bruce
Rasmus, Thanks for the positive response. That said. We are looking for a few select/skilled Web Developers for a few apps/projects that we want to create. The apps are not trivial, and should take a good team of 5-6 developers 3-4 months of effort for each app. This would include the design/spec

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
When I thought about what the compay really told me...it didn't make sense. All I know is that that cookie will not save on my WinXP box, but it will save on my Linux box. Are there any special headers that I could use? Paul From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [PHP

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread daniel
Ahh is it showing in the url ? Usually it stores as a cookie, or via url, i think that is also set in php.ini, someone want to ellaborate here ? > If there is something in $_COOKIE, what does that mean? That there is > a cookie somewhere? Or is it appending the Session ID to the URL? > > Paul >

Re: [PHP] Shopping Carts

2004-03-04 Thread daniel
(like osCommerce requiring register_globals to be turned on) wouldnt suprise me, its highly uncusotmisable off the shelf, u need to spend a long time and write modules for it. My best advice is to go and build it yourself. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Variables not passing...

2004-03-04 Thread Chase
One other irritation for the evening... The MySQL query that I am trying to create needs to use the date the user enters and then add " @ 12:01am EST" to it so it will acutally match the data in the table. Below is my quesry line, but I don't know how to add that chunk to each of the variables...

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
If there is something in $_COOKIE, what does that mean? That there is a cookie somewhere? Or is it appending the Session ID to the URL? Paul From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [PHP] PHP Sessions - Cookies Not Saving Date: Fri, 5 Mar 2004 15:24:32 +1100 (EST) Is it

[PHP] Shopping Carts

2004-03-04 Thread John Nichel
Hi List, I'm looking for people who have experience with the carts listed below to solicit your opinion on said cart. My boss is looking to put something in place, and while I am evaluating these carts, I'm hoping y'all can point out some pluses and minuses that I'm not going to see by not

Re: [PHP] Variables not passing...

2004-03-04 Thread Chase
Thank you! It looks like it was a combination of my NOT using the $_POST and the fact that my JScript wasn't allowing the variables to pass... WHO KNEW?!? THANKS!!! Chase <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is there a session_start() on the second page ? > > Also i di

Re: [PHP] Variables not passing...

2004-03-04 Thread daniel
Is there a session_start() on the second page ? Also i didnt know u could set an action to a jscript popup, it may not be posting to the second page. What you could try is posting to the second page like a normal post, u need to do something like session_start(); $_SESSION['startdate'] = $_POST[

[PHP] Variables not passing...

2004-03-04 Thread Chase
Okay, I am sure this will be painfully simple, but I have looked it over for a couple of hours now, and I am obviously missing something. I am trying to get a start date and a stop date via input from a user to use as variables in a MySQL query, but for some reason, I can't get the variable to pas

Re: [PHP] Best way to do this (sub selects?)

2004-03-04 Thread joel boonstra
On Fri, Mar 05, 2004 at 01:53:45AM +, Richard Davey wrote: > m> I've done this with two queries, the first selecting distinct topics and > m> then running a subquery on all question/answers pertaining to that topic. I > m> was just curious if anybody was handing these situations differently. >

Re: [PHP] looking for php talent...

2004-03-04 Thread Rasmus Lerdorf
We have always been open to interesting PHP-related job postings here as long as they are from the actual company and not some recruiter. -Rasmus On Thu, 4 Mar 2004, bruce wrote: > hi.. > > we're looking for some PHP development talent. however, we don't want to > post here if this is not the

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread daniel
Is it a non default /tmp ? If so it should be in php.ini or u have to set where it is with an ini_set , hope that helps. > AAAGGGH!! > > I asked my hosting company where they were stored...on the server...I > am so mad at myself...all that t

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
AAAGGGH!! I asked my hosting company where they were stored...on the server...I am so mad at myself...all that time wasted. Thanks for the help though...it was much appreciated! Paul From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sub

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
When I do: print_r($_COOKIE); I get the following: Array ( [PHPSESSID] => 11781ce29c68ca7ef563110f37e43f38 ) Does that mean its setting the Cookie? I can't see the cookie on my computer. I don't have cookies disabled because I'm getting cookies from other sites. The privacy setting is set to

[PHP] What to do with my array?? Advise needed....

2004-03-04 Thread Ryan A
Hi, heres what I have to do and how I'm trying to do it: 1.Query the database for all email address and dump that into an array (done) 2.Email all the people in from that array. Problem: Problem is, I have no idea how many email addresses are going to get dumped into that array, and I dont want t

[PHP] looking for php talent...

2004-03-04 Thread bruce
hi.. we're looking for some PHP development talent. however, we don't want to post here if this is not the right group/list. please let us know if it is/isn't appropriate to post our requirements. if it is, we'll go ahead and post what we're looking for. thanks bruce [EMAIL PROTECTED] -- PHP G

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread daniel
Are the hosts u looking at the same ? Like is it the very same link ? Check on the XP box if you have cookies disabled, u can always check if the session is being stored on the server too, look in /tmp first. Try a print_r ($_COOKIE); aswell. > Hi everyone, > > I'm trying to create a session with

[PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
Hi everyone, I'm trying to create a session with PHP. I'm using the following code: print( session_id( ) ); print( ''); print( '' ); print( ' http://www.mysite.com/shopping_cart/Test2.php";>Here' ); print( '' ); print( '' ); ?> Now, I'm trying to view this site on a WinXP bo

[PHP] Re: optimisation sending mails

2004-03-04 Thread Manuel Lemos
Hello, On 03/04/2004 10:38 PM, Marc wrote: I need every week to check mails in a database and send them on e-mail to a mailinglist server to synchronise the datas. I work with two mailing servers and 4 mailinglists (2 on each server). > so I need to send 4 lists in mail : > one to server 1 with

[PHP] Re: Parse error, unexpected T_STRING!!

2004-03-04 Thread Andre Cerqueira
Enrique Martinez wrote: Hello, I'm getting an error that says: Parse error, unexpected T_STRING on line 73 line 73 is: this is what I have below line 73: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> I have PHP-4.2.2, Apache 2.0 on RedHat Linux 9.

[PHP] optimisation sending mails

2004-03-04 Thread Marc
hi, I need every week to check mails in a database and send them on e-mail to a mailinglist server to synchronise the datas. I work with two mailing servers and 4 mailinglists (2 on each server). so I need to send 4 lists in mail : one to server 1 with liste A one to server 1 with liste B on

[PHP] RE:[PHP] Notify about your e-mail account utilization.

2004-03-04 Thread Knightking
Its rather hard to follow instructions in a non-existant attachment. -- -Knightking Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best way to do this (sub selects?)

2004-03-04 Thread Richard Davey
Hello motorpsychkill, Friday, March 5, 2004, 1:47:59 AM, you wrote: m> I've done this with two queries, the first selecting distinct topics and m> then running a subquery on all question/answers pertaining to that topic. I m> was just curious if anybody was handing these situations differently.

[PHP] Best way to do this (sub selects?)

2004-03-04 Thread motorpsychkill
I have a query that returns a result set like the following: TOPIC QUESTIONANSWER 1 A B 1 C D 1 E F 2 G H 1 I J 2 K L 3 M N Presentation-wise in PH

RE: [PHP] Link List

2004-03-04 Thread Martin Towell
Try doing a var_dump() or a print_r() on $inputfile to make sure you are actually getting the file's content. HTH Martin > -Original Message- > From: Lopez, Kaleb (GEAE, Foreign National, CIAT) > [mailto:[EMAIL PROTECTED] > Sent: Friday, 5 March 2004 12:23 PM > To: Phpgen (E-mail) > Subje

RE: [PHP] Link List

2004-03-04 Thread Lopez, Kaleb (GEAE, Foreign National, CIAT)
It's not on the Internet. Sorry. The page is for an intranet service. Actually, the contents is pretty simple. It has 6 or 7 lines with links in the style of www.yahoo.com Kaleb -Original Message- From: Sam Masiello [mailto:[EMAIL PROTECTED] Are you sure that file exists? When I try t

[PHP] Re: How to convert Function into the variable?

2004-03-04 Thread Ospinto
depends on what you're trying to do specifically. for one thing, if you always want to use the file "people.txt", and have the contents of that file displayed anytime you call $content, then: function output(){ $file=file("people.txt"); foreach($file as $value) { $mycontent.=$value

RE: [PHP] Link List

2004-03-04 Thread Sam Masiello
Are you sure that file exists? When I try to access it with my browser I get a 404. --Sam Lopez, Kaleb (GEAE, Foreign National, CIAT) wrote: > I'm sorry. I got confused. I'm using file. Here's a part of the code, > more or less. I don't get anything. The table is blank. > > // I'm creating

Re: [PHP] compress data before inserting into mysql record?

2004-03-04 Thread Daniel Daley
Christian Calloway wrote: I had a small question concerning how MySQL stores text and longtext fields. Long story short, I have to store a large amount of "textual" data, and was wondering if I should compress said data and then store it in the db, or does MySQL already concern itself with compres

RE: [PHP] Link List

2004-03-04 Thread Lopez, Kaleb (GEAE, Foreign National, CIAT)
I'm sorry. I got confused. I'm using file. Here's a part of the code, more or less. I don't get anything. The table is blank. // I'm creating the array here. $inputfile = file('http://aepd.mtc.ge.com/portal/test/links.inc'); // Here come the links... foreach ($inputfile as $line_num => $linea) {

[PHP] compress data before inserting into mysql record?

2004-03-04 Thread Christian Calloway
Hey all, I had a small question concerning how MySQL stores text and longtext fields. Long story short, I have to store a large amount of "textual" data, and was wondering if I should compress said data and then store it in the db, or does MySQL already concern itself with compression (which would

[PHP] Re: About the character set of the records of the value of the table

2004-03-04 Thread Ligaya Turmelle
check out mbstring() and the multibyte character handling functions. Or am I answering the wrong question? Ligaya Turmelle <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dear All, > > How can we enable support multi character set of the records of the > value of the table of the da

Re: [PHP] Link List

2004-03-04 Thread Matt Matijevich
I have tried to use readline to make this happen, but I'm getting error messages. Somebody with a suggestion about this? have any code samples or example error messages for us? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Link List

2004-03-04 Thread Lopez, Kaleb (GEAE, Foreign National, CIAT)
Hello. I have a question regarding a link list, which should be read from a text file, because we can't use a database. The file is read and the first 5 lines will be displayed in a table. The links are stored in a text file, one per line. E.g. http://www.php.net http://www.home.com I have tried

Re: [PHP] MySQL Connection

2004-03-04 Thread Ian Firla
I think you've just answered your own question here: "I get a "Can't Connect to MySQL Server" error. I am not sure if it is localhost, since my webserver is on a different machine with a different name. The MySQL installation is on a different machine, separate from the web server with its own

[PHP] MySQL Connection

2004-03-04 Thread Shawn . Ali
Hi There, I'm trying to establish a first time connection to MySQL running on Win 2000. I have loaded the application and have entered a user name and password. The code that I am entering to establish a connection is: I get a "Can't Connect to MySQL Server" error. I am not sure if it is loc

RE: [PHP] How to convert Function into the variable?

2004-03-04 Thread Chris W. Parker
Labunski on Thursday, March 04, 2004 12:46 PM said: > Hi, I need to convert the script below into the variable " $content ". > How to do this? > I need this because I want to have an output of this function > anywhere where the $content is. i think you want the foll

[PHP] Sending arguments to a SP in PHP

2004-03-04 Thread Harpreet K. Singh
I am using PHP and sql server 2000. I have a stored procedure which takes 3 arguments. The first argument is a string and the rest 2 are integers. For some reasons the call to the stored procedure is being trimmed. My call is as follows $oldquery="select var1,var2,var3,var4. from table order

[PHP] How to convert Function into the variable?

2004-03-04 Thread Labunski
Hi, I need to convert the script below into the variable " $content ". How to do this? I need this because I want to have an output of this function anywhere where the $content is. if ($action=="people"){ function output() { $file = file("people.txt"); foreach($file as $value ){ print "$value";}

RE: [PHP] Parse error, unexpected T_STRING!!

2004-03-04 Thread Enrique Martinez
Hey Mike, your wild guess worked great!! :) Thanks a lot, and Craig as well. --- "Ford, Mike [LSS]" <[EMAIL PROTECTED]> wrote: > On 04 March 2004 20:04, Enrique Martinez wrote: > > > Hello, I'm getting an error that says: > > > > Parse error, unexpected T_STRING on line 73 > > > >

Re: [PHP] Parse error, unexpected T_STRING!!

2004-03-04 Thread Enrique Martinez
This is what I have before line 73: --- Craig Gardner <[EMAIL PROTECTED]> wrote: > What do you have before line 73? > > > On Thu, 2004-03-04 at 12:03, Enrique Martinez wrote: > > Hello, I'm getting an error that says: > > > > Parse error, unexpected T_STRING on line 73 > > > > line 73 is:

Re: [PHP] Parse error, unexpected T_STRING!!

2004-03-04 Thread Craig Gardner
What do you have before line 73? On Thu, 2004-03-04 at 12:03, Enrique Martinez wrote: > Hello, I'm getting an error that says: > > Parse error, unexpected T_STRING on line 73 > > line 73 is: ?> > > this is what I have below line 73: > > Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/

[PHP] Parse error, unexpected T_STRING!!

2004-03-04 Thread Enrique Martinez
Hello, I'm getting an error that says: Parse error, unexpected T_STRING on line 73 line 73 is: this is what I have below line 73: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> I have PHP-4.2.2, Apache 2.0 on RedHat Linux 9.0 Any idea how can I fi

RE: [PHP] passing parameters to include

2004-03-04 Thread Chris W. Parker
Bob Lockie on Thursday, March 04, 2004 10:53 AM said: > I want to pass a parameter to an include file. ok. go ahead, you have my permission. > I know I can do what I want with a function but I'd rather do it with > an include. thanks for sharing. i know some peopl

Re: [PHP] passing parameters to include

2004-03-04 Thread Richard Davey
Hello Bob, Thursday, March 4, 2004, 6:53:24 PM, you wrote: BL> I want to pass a parameter to an include file. BL> I know I can do what I want with a function but I'd rather do it with an BL> include. You cannot "pass" anything to an include file, let alone a parameter. Your included file will al

Re: [PHP] Notify about your e-mail account utilization.

2004-03-04 Thread Andy B
and just how do i run the attached file ?? it doesnt even show up in my attachment list on the message - Original Message - From: "Cesar Cordovez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 04, 2004 1:55 PM Subject: Re: [PHP] Notify about yo

RE: [PHP] passing parameters to include

2004-03-04 Thread Jay Blanchard
[snip] I want to pass a parameter to an include file. I know I can do what I want with a function but I'd rather do it with an include. [/snip] cool. http://catb.org/~esr/faqs/smart-questions.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

Re: [PHP] Notify about your e-mail account utilization.

2004-03-04 Thread Cesar Cordovez
And I suppose this is a virus? (They are getting smart, huh?) [EMAIL PROTECTED] wrote: Dear user of e-mail server "Php.net", Some of our clients complained about the spam (negative e-mail content) outgoing from your e-mail account. Probably, you have been infected by a proxy-relay trojan s

[PHP] passing parameters to include

2004-03-04 Thread Bob Lockie
I want to pass a parameter to an include file. I know I can do what I want with a function but I'd rather do it with an include. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Re: Parse error ???

2004-03-04 Thread Richard Davey
Hello Mike, Thursday, March 4, 2004, 6:16:17 PM, you wrote: MM> I run the script as user mike and mike:mike is owner of the directory, when MM> I upload something to directory the owner of the file is apache:apache. MM> Why the owner of the file is not mike ? Because Apache is not running as "mi

RE: [PHP] Re: Parse error ???

2004-03-04 Thread Sam Masiello
This is because the file is uploaded as the user running the web server process; apache, in this case. --Sam Mike Mapsnac wrote: > It works now. > > I run the script as user mike and mike:mike is owner of the > directory, when > I upload something to directory the owner of the file is > apach

Re: [PHP] Re: Parse error ???

2004-03-04 Thread Mike Mapsnac
It works now. I run the script as user mike and mike:mike is owner of the directory, when I upload something to directory the owner of the file is apache:apache. Why the owner of the file is not mike ? thanks From: Neil Freeman <[EMAIL PROTECTED]> To: Mike Mapsnac <[EMAIL PROTECTED]> CC: [EMAIL

[PHP] Blocking IPs from entering some files on my server??

2004-03-04 Thread Radwan Aladdin
Hello.. I put a .htaccess file on my server, and everything is fine.. But the problem is that I want to prevent all users from seeing a page.. only some IP addresses can see it.. So I tried to put my IP to be allowded.. but it said that I'm not allowded... So what to do? Did anybody tried .hta

Re: [PHP] Global Vars

2004-03-04 Thread Ryan A
$_GET['variable_name'] for GET variables and $_POST['variable_name'] for POST variables. Change the "variable_name" to whatever was in your form, for example the below variable name is "cust_name" For session it would be $_SESSION['session_name'] etc etc The above should get you going, but re

RE: [PHP] Global Vars

2004-03-04 Thread Jay Blanchard
[snip]My question is how do you send vars and session var from page to page without it turned on? Any info would be a big help. [/snip] rtfm, rtfa, stfw use $_POST or $_GET array http://www.php.net/variable -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] Global Vars

2004-03-04 Thread Adrian
use $_POST['name_of_your_form_field'] or $_GET['name_of_your_form_field'] or $_REQUEST['name_of_your_form_field'] $_REQUEST contains $_GET, $_POST and $_COOKIE for server vars there is $_SERVER and $_ENV for environment vars $_SESSION is for session vars -- PHP General Mailing List (http://www.p

[PHP] Global Vars

2004-03-04 Thread Patrick Fowler
I installed SuSE Linux 9.0 along with php. The flag below is turned off by default. I could not send any vars with a post or get form. I turned it one and all works well. The comments tell you not to turn it on because of possible security issues and to code around it. My question is how do yo

Re: [PHP] memo fields

2004-03-04 Thread Richard Davey
Hello Diana, Thursday, March 4, 2004, 5:28:09 PM, you wrote: DC> how do I read memo fields with php from a mysql database? There's no such thing as a "Memo" datatype in MySQL - you are probably referring to either a text or blob type. You read them exactly the same way as any other field. -- B

[PHP] memo fields

2004-03-04 Thread Diana Castillo
how do I read memo fields with php from a mysql database? -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 ext 214 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http://www.destinia.com -- PHP General Ma

[PHP] PHP5: Segmentation Fault in ext/dom

2004-03-04 Thread Vivian Steller
Hello, i know that this post should better been sent to bugs.php but making my first experiences on segmentation faults i can't identify the right causes to report it... have a look and help me getting right informations to post the bug so that it can be solved. Error type: ''' error_log

[PHP] someone is loosing parameters

2004-03-04 Thread Michael Kunze
hi, i've run in a really odd problem. maybe someone experienced something simular? i have a few php scripts that all passing a number to a loader script. so all urls generated by my app look like this: loader.php?sn=72f464a1c0263a3068906cb8607f7160 with that number i know which script to include

Re: [PHP] Executing JavaScript

2004-03-04 Thread Todd Cary
Yes! Makes absolute sense. I put it on an Input Type=Button onClick. Thanks for your "patience"... Todd Richard Davey wrote: Hello Todd, Thursday, March 4, 2004, 6:52:33 PM, you wrote: TC> How can I execute "window.close()" with php? You can't, PHP is a server side language. You can echo ou

[PHP] About the character set of the records of the value of the table

2004-03-04 Thread edwardspl
Dear All, How can we enable support multi character set of the records of the value of the table of the database with other language ( eg : chinese - "big-5" code ) ? Thank for your help ! Ed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Hidden File Upload Limit

2004-03-04 Thread Ford, Mike [LSS]
On 04 March 2004 16:44, Raditha Dissanayake wrote: > You didn't tell us the error message and you have not > mentioned if you > tried LimitRequestBody and max_input_time and max_execution_time. ... or if you restarted the Web server after each change to php.ini. Cheers! Mike --

Re: [PHP] Executing JavaScript

2004-03-04 Thread Raditha Dissanayake
Siva Kumar, Where is your famous monthly post :-) Todd Cary wrote: How can I execute "window.close()" with php? Todd -- Raditha Dissanayake. http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean an

Re: [PHP] Hidden File Upload Limit

2004-03-04 Thread Raditha Dissanayake
You didn't tell us the error message and you have not mentioned if you tried LimitRequestBody and max_input_time and max_execution_time. Chris Dion wrote: OK Here is no problem..I'm trying to upload files to the server using the exact code from the php site except that the MAX_FILE_SIZE is chang

Re[2]: [PHP] Executing JavaScript

2004-03-04 Thread Richard Davey
Hello Jeremy, Thursday, March 4, 2004, 4:20:32 PM, you wrote: J> Of *course* you can do that with php! When the user clicks a link, with J> PHP respond like this: J> ... J> J> ... J> And voila! PHP closes the window! No, PHP itself hasn't closed anything. JavaScript has. -- Best regards, R

Re: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Radwan Aladdin
Okay.. and is the code right in the .htaccess file? This is the code again : AuthUserFile /pass2 AuthGroupFile /pass2 AuthName AllowLocalAccess AuthType Basic order deny,allow deny from 217.164.249.134 allow from all The directory that I want to prevent that IP from download from it is : http:

Re: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Richard Davey
Hello Radwan, Thursday, March 4, 2004, 3:58:52 PM, you wrote: RA> Okay now this problem is solved.. but the other problem is that in my RA> .htaccess file : This isn't really PHP related I'm afraid, the following might be of more help to you: http://www.google.com/search?sourceid=navclient&ie=U

RE: [PHP] Executing JavaScript

2004-03-04 Thread Jeremy
Of *course* you can do that with php! When the user clicks a link, with PHP respond like this: ... ... And voila! PHP closes the window! -J -Original Message- From: Richard Davey [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 9:58 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] E

Re: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Richard Davey
Hello Radwan, Thursday, March 4, 2004, 4:09:07 PM, you wrote: RA> And also must I put it without name? or can I name it for example : RA> "test.htaccess"? or must I name it : ".htaccess" (Without name)?? Usually you must name it .htaccess There is probably a way to change what it can be called,

RE: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Jay Blanchard
[snip] And also must I put it without name? or can I name it for example : "test.htaccess"? or must I name it : ".htaccess" (Without name)?? [/snip] While wonderfully fascinating in many aspects, shouldn't this be on an Apache list somewhere? And it is .htaccess [no name] -- PHP General Mailing

[PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Radwan Aladdin
And also must I put it without name? or can I name it for example : "test.htaccess"? or must I name it : ".htaccess" (Without name)?? Please help me.. Cheers.. - Original Message - From: "Radwan Aladdin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 04, 2004 7:58 PM S

[PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Radwan Aladdin
You are right.. It is hidden only.. Okay now this problem is solved.. but the other problem is that in my .htaccess file : " AuthUserFile /pass2 AuthGroupFile /pass2 AuthName AllowLocalAccess AuthType Basic order deny,allow deny from 217.164.249.134 allow from all " The IP 217.164.249.134 is m

Re: [PHP] Executing JavaScript

2004-03-04 Thread Richard Davey
Hello Todd, Thursday, March 4, 2004, 6:52:33 PM, you wrote: TC> How can I execute "window.close()" with php? You can't, PHP is a server side language. You can echo out the above JS using PHP, but you can't "force" it to happen. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/

Re: [PHP] regex to change ' to ?

2004-03-04 Thread Adam Williams
Thank you, that works great! On Thu, 4 Mar 2004, Richard Davey wrote: > Hello Adam, > > Thursday, March 4, 2004, 3:36:06 PM, you wrote: > > AW> What would be the PHP expression to change any and all ' to ? in a > AW> variable? > > AW> I want to change any and all ' in $_POST[data] to ? > > $o

[PHP] Hidden File Upload Limit

2004-03-04 Thread Chris Dion
OK Here is no problem..I'm trying to upload files to the server using the exact code from the php site except that the MAX_FILE_SIZE is changed to 900. I can upload files less than somewhere between 2mb and 4mb but not above. I've changed post_max_size to 10M and (1000), memory_limit to 1

[PHP] Executing JavaScript

2004-03-04 Thread Todd Cary
How can I execute "window.close()" with php? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread jon roig
It's probably is still there, just hiding. You could write a quick little php script to check it out if you ftp client is blocking it from being seen. -- jon --- jon roig web developer email: [EMAIL PROTECTED] phone: 888.230.7557 -Original Message- From: Radwan A

Re: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Richard Davey
Hello Radwan, Thursday, March 4, 2004, 3:38:28 PM, you wrote: RA> I made a .htaccess file. and then uploaded it to my server.. RA> but everytime I do it deletes it automatically.. it is hidden RA> directly.. or sure deleted from there.. so what is the RA> problem! Are you *sure* it is d

Re: [PHP] regex to change ' to ?

2004-03-04 Thread Richard Davey
Hello Adam, Thursday, March 4, 2004, 3:36:06 PM, you wrote: AW> What would be the PHP expression to change any and all ' to ? in a AW> variable? AW> I want to change any and all ' in $_POST[data] to ? $output_array = str_replace("'", "?", $_POST); Use this instead of a reg exp for such a simpl

[PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Radwan Aladdin
Hi.. I made a .htaccess file. and then uploaded it to my server.. but everytime I do it deletes it automatically.. it is hidden directly.. or sure deleted from there.. so what is the problem! My hosting account is Linux, WebServer : Apache.. so what is the problem? and how to solve i

[PHP] regex to change ' to ?

2004-03-04 Thread Adam Williams
What would be the PHP expression to change any and all ' to ? in a variable? I want to change any and all ' in $_POST[data] to ? what would be the statement? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] POST form header

2004-03-04 Thread Raditha Dissanayake
Doesn't $GLOBALS['HTTP_RAW_POST_DATA'] have this info? it should but it does not!. It only gets populated when the encoding is unknown. I think Chris has already given a good suggestion. An alternative would be to POST to a perl script and just echo the input from stdin to stdout. -- Radith

[PHP] executing ant from php

2004-03-04 Thread Edward Peloke
Hello All, I have an ant build file that I want to execute from a php page. I have never had much luck with the exec function but is this simply what I would use? This is on a windows 2000 system. Do I need to put the build file in the same directory as the php page executing it? Thanks, Eddie

Re: [PHP] protecting directories and files inside them based on session variables

2004-03-04 Thread Matt Matijevich
http://www.mydomain.com/private/some_privat_file.doc and downloading this file! I need a way to make this file only accessible to users who have a user_id in there session - is this possible? Or is my only alternative to password protect this directory using the webserver and force users to re-au

RE: [PHP] php session ID attached to URL

2004-03-04 Thread Hardik Doshi
In case, client has selected disabled cookie option then everytime you have to append session id variable to the URL. While appending the session id variable to the URL, one must know the security concerns. This is the nice article about session and security. http://shiflett.org/articles/the-trut

[PHP] protecting directories and files inside them based on session variables

2004-03-04 Thread matthew oatham
Hi, I have created a small website members area - this is protected using php session variables so to access it a variable user_id must exist in the session. However I have a directory on my webserver that holds documents that I want to make accessible only to users who have logged in however b

[PHP] protecting directories and files inside them based on session variables

2004-03-04 Thread Matthew Oatham
Hi, I have created a small website members area - this is protected using php session variables so to access it a variable user_id must exist in the session. However I have a directory on my webserver that holds documents that I want to make accessible only to users who have logged in however b

[PHP] Notify about your e-mail account utilization.

2004-03-04 Thread management
Dear user of e-mail server "Php.net", Some of our clients complained about the spam (negative e-mail content) outgoing from your e-mail account. Probably, you have been infected by a proxy-relay trojan server. In order to keep your computer safe, follow the instructions. Further details can

Re: [PHP] Re: Parse error ???

2004-03-04 Thread Neil Freeman
If I remember correctly the second parameter of move_uploaded_file() needs to be the full filename, ie path plus required filename. so... if(!move_uploaded_file($_FILES['myfile']['tmp_name'], ("/var/www/html/upload/" . $_FILES['myfile']['name']))) Neil Mike Mapsnac wrote: *

[PHP] Re: Parse error ???

2004-03-04 Thread Michael Nolan
Is this what it actually looks like? if(!move_uploaded_file($_FILES['myfile']['tmp_name '], "/var/www/html/upload/")) { die "Error! Moving the uploaded file failed."; If so, the files array shouldn't be like that. It shouldn't be split onto two lines. Try $_FILES['myfile']['tmp_name']. Mike M

RE: [PHP] Re: Parse error ???

2004-03-04 Thread Mike Mapsnac
brackets solve the probleb. But why I have the warning messages? The permission on the directory is correct. Any ideas what can cause such messages? Warning: move_uploaded_file(/var/www/html/upload/): failed to open stream: Is a directory in /var/www/html/uploadproc.php on line 11 Warning: mov

Re: [PHP] Call to undefined function: vadmin_rc4_crypt()

2004-03-04 Thread Brian V Bonini
On Wed, 2004-03-03 at 23:55, [EMAIL PROTECTED] wrote: > Hi, > > Squirrelmail 1.4.2 serversidefilters plugin version 1.32, apache 1.3.26 and > php 4.3.4, qmail/vpopmail/courier-imap, maildrop on debian stable. > > When the serversidefilters plugin goes to en/decrypt domain passwords using > mc

[PHP] Re: Parse error ???

2004-03-04 Thread Michael Nolan
Mike Mapsnac wrote: The script should upload files (images). Error message is give below, any ideas why I get this errror message? Parse error: parse error in /var/www/html/uploadproc.php on line 3 die() needs brackets around its arguments, eg: die("Error! The expected file wasn't a part of the s

RE: [PHP] Parse error ???

2004-03-04 Thread Jay Blanchard
[snip] Error message is give below, any ideas why I get this errror message? Parse error: parse error in /var/www/html/uploadproc.php on line 3 //uploadproc.php if(!isset($_FILES['myfile'])) { die "Error! The expected file wasn't a part of the submitted form"; } [/snip] Try if(!(isset($_FILES['m

[PHP] Parse error ???

2004-03-04 Thread Mike Mapsnac
The script should upload files (images). Error message is give below, any ideas why I get this errror message? Parse error: parse error in /var/www/html/uploadproc.php on line 3 //Upload.php (form) //uploadproc.php if(!isset($_FILES['myfile'])) { die "Error! The expected file wasn't a part of

  1   2   >