Ryan Grange wrote:
Gary C. New wrote:
Is there a quick and dirty way to include, file, or fsockopen content
from a remote server and make it appear as though the request was
straight from the browser's remote address?
Thank you for your assistance.
Respectfully,
Gary
I believ
I am trying to compile phpcap-0.2e with php-4.2.3 and get the following
configure error:
./configure: line 52860: syntax error near unexpected token
`PHP_NEW_EXTENSION(phpcap,'
./configure: line 52860: ` PHP_NEW_EXTENSION(phpcap, phpcap.c,
$ext_shared)'
The phpcap INSTALL file show php-4.3.
Is there a quick and dirty way to include, file, or fsockopen content
from a remote server and make it appear as though the request was
straight from the browser's remote address?
Thank you for your assistance.
Respectfully,
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
It turns out that SCRIPT_URI is a mod_rewrite global.
I simply had to turn the RewriteEngine On under the unencrypted (http)
location and it worked perfectly.
Thank you for the suggestions.
Respectfully,
Gary
pete M wrote:
try
$_SERVER['SCRIPT_URI'];
Gary C. New wrote:
I am writing som
I am writing some php code that requires the $GLOBALS['SCRIPT_URI']
variable. When I access the code under its encrypted (https) location
it is available without issue. However, when I try to access the code
under its unencrypted (http) location it is not available. In fact,
phpinfo() shows
I am writing some php code that requires the $GLOBALS['SCRIPT_URI']
variable. When I access the code under its encrypted (https) location
it is available without issue. However, when I try to access the code
under its unencrypted (http) location it is not available. In fact,
phpinfo() shows that
I am currently storing mcrypted data as a base64 encoded string.
I now need to store the mcrypted data as a base32 or base62 string,
because of problems occurring due to the '+', '/', and '=' characters.
It seems that there is only the base64_en/decode default function.
Does anyone know of a meth
the backend which is capable of Creating accounts for new retailers and fix
a profit % for each retailer. which would mean that when a retailer logs in
he'd see a price list with the profit % added to the base price. This list
would appear different to each retailer, as pertaining to his
prof
Tom,
I appreciate the suggestion, but even after setting the iv to zero
within the php code and including the --noiv option within the command
line; it still does not produce the same base64 encoded string under
both methods.
I noticed that the command line was keying off of 2 passphrases and
Use MySQLODBC... I use it to manage my databases through MS Access.
I haven't integrated it yet with Word, but it is my intention in the
near future.
Hope this helps.
Respectfully,
Gary
Satch wrote:
Is there any way to have a web page (PHP) that draws data from a database (MySQL) then popula
I am trying to figure out how to encrypt data using the web-based php
mcrypt function and then decrypt it using the command line (cli) mcrypt
binary, and vica-versa.
I cannot seem to get the same encrypted output for the same data,
between the two methods. I've tried to ensure I am using the s
$u && $p");
That's it!
I know it sounds a bit complicated, but after you have all the right
components functional it is quite easy.
Hope this helps all those of you who have requested it.
Respectfully,
Gary
Gary C. New wrote:
What is the best way to detach and run a comm
What is the best way to detach and run a command line based php script
in the background from a web-based php script, without the need for
reporting?
I have a web-based php script that gathers information and then passes
it off to several functions, which execute several other php scripts.
The
Hi,
Asked this on the mySQL list but it seems to be more of a PHP syntax thing
that a mySQL thing.
In have the following line in PHP
I have a mySQL table which contains dates formatted as dates(-xx-xx)
I want to select all records based on a specific month.
This is my select statement
S
PROTECTED]
Sent: August 17, 2003 8:45 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question regarding Syntax
* Thus wrote Creative Solutions New Media ([EMAIL PROTECTED]):
> Sorry guys.It think there is a bit of confusion.
>
> I miss typed what I need to do.
>
>
Zirzow [mailto:[EMAIL PROTECTED]
Sent: August 17, 2003 8:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question regarding Syntax
* Thus wrote Creative Solutions New Media ([EMAIL PROTECTED]):
> HREF="mailto:[EMAIL PROTECTED]">'.$row_rep_RS['repEmail'].'
mailto:[EMAIL PROTECTED]">'.$row_rep_RS['repEmail'].''; ?>
Obviously this isn't working. What is the proper syntax when you have to use
double quotes inside the tag?
Thx
Tim Winters
Manager, Creative Development
Sampling Technologies Incorporated (STI)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
W: 902
Hello,
Bit of a newbie question I guess.
What is the best way, using php, to detect information about the referrer to
a page. Is this possible/difficult using PHP?
Thanks,
Tim Winters
Manager, Creative Development
Sampling Technologies Incorporated (STI)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
W:
Hello,
I have a weird problem I was hoping someone could help with.
I have a client who hosts a site on a standard server (No PHP et all)
Currently he has some Flash based content. Within the Flash content I can
call to PHP pages in another domain to push and pull data from a mySQL DB
into the
PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] detecting referer
--- Creative Solutions New Media <[EMAIL PROTECTED]> wrote:
> What is the best way, using php, to detect information about the
> referrer to a page.
echo $_SERVER['HTTP_REFERER'];
To see all of the informatio
D]
Subject: Re: [PHP] Problem sortiing dyn query
Creative Solutions New Media wrote:
> Hi
>
> Can someone give me some indication why this might not be working?
>
> $query_Recordset1 = sprintf("SELECT * FROM sti_tracking ORDER BY '%s'
'%s'",
$query_Re
Hi
Can someone give me some indication why this might not be working?
$query_Recordset1 = sprintf("SELECT * FROM sti_tracking ORDER BY '%s' '%s'",
$reSort_Recordset1,$direction_Recordset1);
the values for $reSort_Recordset1 and $direction_Recordset1 are passed
through from another page. $reSort
="SELECT * from colors";
$results = mysql_query($query) or die ("DB ERROR:" . mysql_error());
$num = mysql_numrows($results);
$i=0;
echo "\n<!--\n";
while ($i < $num) {
echo "\n ca[$i] = new Array();";
echo "\n ca[$i][0] = \"" . mys
Hello,
I am using mySQL and PHP to pull some data into my page.
I have 2 dropdown boxes.
As an example lets say dropbox1 has a list of cars and dropbox2 has a list
of colours.
Here's the thing. The colours for each car vary so I won't know what
colours to populate the 2nd dropbox with until a
How can I read a file in a url, into an array so that I can access each line by itself?
Thanx
Rodrigo
Ok, guys this is it With th code bellow I can get the html file from a url and get the
content without the html tags, but I wanna control the exibition of this content and
only display the lines 1 to 4, and I can't seem to get how to do this.
I thank any advice you can get me.
Rodrigo
// Get
Hi guys, is there a function that will remove all the Html tags from a file?
How should I do it?
Thanks for any clues,
Rodrigo
How can I get a certain line from a file?
If I get a file in this way:
$f = fopen("http://www.url.com/index.htm","r";);
How can I get a certain line of the file index.htm?
I would need to get the line number 232, or lines from 232 to 238. How can I get this
content?
Thanx.
Rodrigo
What I want to know is if it is possible to retrieve a source code from a url, with a
php file.
Something like this:
There is a php file that retrieve the source code from the url www.url.com and this
source is treated and you get content from this file and show it on the response page.
Is thi
I´d like to know how to get certain headlines from another site. I already got the
permission from the site owner, but I'm short on the programing. It would be something
like, get the source code from the url: www.url.com and then remove all the html, and
get only the part that I need. Does anyb
ubmission was not processed due to a system error!\n");
}
} else {
print ("Please enter a valid Web address!\n");
}
?>
Thanks,
New B
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Please help! I am a beginner of php, I got an error from my own webpage:
Notice: Undefined variable: Array in C:\Inetpub\wwwroot\php\HandleForm.php
on line 23
Please enter a valid Web address!
Below is my code:
Using Files
http://\\2\\3\"target=\"_new\";>\\2\\3";
$Array["URL"] = eregi_repl
Hi, I need to do a drop down menu that loads the contents from a msql
database.
Like this: I need a select that has the name of every salesman of a
certain department, and this info is dynamic and is recorded in a
database (MySql).
So what would the select have to be like?
Also the load value is
I have a field on a MySql database that is started with a 0, and I want
to add 1 to this field every time a button is pressed on a form. So it
should add one every time, like if there is 5 and you press it one time
it would have 6.
the
subject REMOVE. Please Check the message at the end of the email
Dear Fellow Entrepreneur,
Are you looking for a new affiliate program? Have you found the 'Right' way of
marketing that program? I think I have a way to Start Your Own Success!
If you are interested in this progr
35 matches
Mail list logo