| |
thread by: mbasil7 |
last post Oct 19 '05 by: scott Johnson
Hi at all!
I want to use a javascript variable in php. The reason is that i want
to know the client's screen resolution.
Here is the code i'm using:
<head>
<script language='JavaScript'>
<!--
var a=(screen.width-750)/2;
|
thread by: starbuck |
last post Oct 19 '05 by: starbuck
Hi,
have a form, with a text input "fieldname".
method POST
$var = $_POST
$var is then used to search in mysql
select * from table where jobtype like '$var%'
|
thread by: jingalls |
last post Oct 19 '05 by: Sergej Andrejev
Hello,
I'm in the middle of modifying a script and I've come across a problem.
I have a form that gets repeated x number of times and each field in
the form gets the name $item_number_ . $business_item_index ._(the
specific field name). These varaibles get reposted to the same page as
$_POST variables, so that the forms save the users...
|
thread by: jreljac |
last post Oct 19 '05 by: Sergej Andrejev
Howdy,
Is it possible to extract the Meta Data from a PDF file to display?
Additionally, does password protecting the PDF file hinder this in any
way?
Any help would be great.
Thanks,
|
thread by: dspohn |
last post Oct 19 '05 by: Sergej Andrejev
I am currently developing a shopping cart application. When a user is
not logged into the system and they add something to their cart, it is
stored in the database with their session id (so that their items can
be kept while they are not logged in). If user is logged in, it just
stores their items with their unique customer id.
I want to be...
|
thread by: larry |
last post Oct 19 '05 by: larry
I'm working on a new project that I want to get as human readable as
possible, and was wondering what the constraint on variable naming does
PHP have.
Can I have a variable like:
$provider_center_openings_infant_ft
(34 characters if you want to know)
|
thread by: Christian Hammers |
last post Oct 19 '05 by: Christian Hammers
Hello
How can I do the following command with PHP?
$ snmpwalk -Ir -On myhost \
'ASCEND-MIBINET-MIB::internetProfile-Active."cir-1-26"'
..1.3.6.1.4.1.529.23.1.1.1.2.8.99.105.114.45.49.45.50.54 = INTEGER: yes(2)
snmpget() does not like the string index and give "Invalid object identifier",
it seems that something like the "-Ir" flag is...
|
| |
thread by: opt_inf_env |
last post Oct 19 '05 by: Christopher Browne
Hello,
On my server users have access to MySQL database (through PHP). What I
would like to avoid is parallel execution of commands. I mean, if one
user run some sequence of command the sequence of commands run by
another user should stay in query till the first sequence is finished.
Is it possible to reach this only with the usage of...
|
thread by: Wim Hoogenraad |
last post Oct 19 '05 by: Wim Hoogenraad
Dear Webprofessional,
In this newsletter we like to inform you about some developments on our
website.
First of all we would like to thank you who joined WebmastersLookup. Without
the Usenet community the service would not have grown so fast. The
membership is still open and it's for free. In the past few weeks we've been
|
thread by: Ian Davies |
last post Oct 19 '05 by: Ewoud Dronkert
Hello
Im having problems displaying my images as thumbnails in a table. My code
for producing the new width and height from the original image is as follows
**************************************************
if ($ImagePath) {
//$Image = WEB_ROOT . 'images/PupilTester/' . $ImagePath;
$Image = 'images/PupilTester/' . $ImagePath;
} else {...
|
thread by: |-|erc |
last post Oct 19 '05 by: |-|erc
OK, here's the start of the index file I'm working on and its used for every page like so
index.php?action=register
index.php?action=logout
etc.
<?php
define ('IN_SITE', 1 );
define ('LOGGED_IN', FALSE );
|
thread by: Nemopodvodnik |
last post Oct 19 '05 by: Nemopodvodnik
Hello!
do you know how can i change a Text size/type/color in GtkLabel?
$text = &new GtkLabel();
$text->set_text($name);
$text->set_pattern("_______________________________");
....????
Thanke you!!!!
|
thread by: Bruce A. Julseth |
last post Oct 19 '05 by: Malcolm Dew-Jones
I have just inherited someone elses PHP code and there is something strange
in it, at least to me. I'm wondering if I inherited a source code bug or is
it a PHP feature that I don't know about. This code is in "index.htm" and
the first few lines of the file look like:
<?
if($parm) {
more code
}
?>
|
thread by: B Squared |
last post Oct 19 '05 by: B Squared
I recently installed PHP 5.0.4 on my Fedora system. I compiled in the GD
option. (--with-gd). Then I tested the ImageTypes() function. It
seems .png and .gif (IMG_PNG and IMG_GIF) are supported, but jpeg
(IMG_JPEG) is not. Is this expected? How do I get .jpeg support?
-- segway --
Out of curiousity, I checked the php-config file in my...
|
thread by: Colin Fine |
last post Oct 19 '05 by: Mike Willbanks
Now that PHP5 has proper scoping for class properties and methods, I've
been looking in vain for friend classes, or wondering if there's another
way to achieve this effect:
class A {
protected var $v1;
....
|
| |
thread by: TechSupp |
last post Oct 19 '05 by: TechSupp
Hi all,
I'm encountering problems with unixODBC and php. If I look at the phpinfo I
can see that it appears to have been compiled with ODBC, however, I'm
getting the IM002 error when I try to use the odbc_connect method.
I can use isql and connect fine to the DSN i've created without any
problems.
Here is the phpinfo for this...
|
thread by: David Haynes |
last post Oct 18 '05 by: David Haynes
I am having a problem getting a SOAP connection to work and would
appreciate any suggestions.
The story so far:
1. I can point my browser at the service site (https://10.0.1.1:1234/)
and get a meaningful XML response.
2. My php5 code looks like this:
<?php
$client=new SoapClient("http://localhost/xxx/wsdl/xxx.wsdl",
array(
|
thread by: matiasw |
last post Oct 18 '05 by: Oliver Saunders
Hi, I'm new to php and I was looking for some tool that would generate
PHP forms. I have to write more than 40 forms with 30 fields per form
and I would like to have either a framework to make things easier
(maybe something based on xml files to define the forms) or some code
generator.
I've looked through: HTML_Quickform (pear), Metastorage,...
|
thread by: Jussi Rasku |
last post Oct 18 '05 by: Jussi Rasku
Hello,
I'm working on a small web-script that would allow me to remotely setup
recordings to my tv-tuner (on my linux box). The idea is simple, but I'm
unsure how to accomplish it.
The idea: Using PHP generated www-page user could set mencoder to start
recording at some specified time. The command is put to the crontab
using linux "at"...
|
thread by: Oliver Saunders |
last post Oct 18 '05 by: Oliver Saunders
is there anyway to check if a string could be used a variable name. So
return false if the first character isn't a letter or if it contains
spaces etc.
I started writing a function that would do a load of tests because I
couldn't see any easier way of doing it:
<?
function is_valid_handle($str) {
// determines if the string provided can...
|
thread by: el_roachmeister |
last post Oct 18 '05 by: Spam
Is it customary to charge a flat price for a script for a client? What
about fixing bugs, would I be responsible for that assuming the client
has no knowledge of php? Do I include it in the price or jusr charge a
monthly maintenance fee? Also what about marketing the script to other
potential clients. Is there anything illegal about doing...
|
thread by: laredotornado |
last post Oct 18 '05 by: Ewoud Dronkert
Hi,
Does anyone know a predefined function (or can provide one) that
takes three varaibles, $day, $month, and $year and returns whether or
not all three constitute a valid date in which it is expected that day
is a 2 or 1 digit number, month is a 2 or 1 digit number, and year is a
4 digit number.
I'm using PHP 4.
Thanks, - Dave
|
thread by: Serge Wautier |
last post Oct 18 '05 by: Serge Wautier
Env.: PHP 4.4.0 / IIS 5.1 / XP Pro
Hi All,
I'm writing a PHP page which contains plain text.
Oddly enough, it there is a CRLF right after a php tag, this CRLF is eaten
and doesn't appear on the client side.
e.g.:
<?php header('Content-type: text/plain') ?>
|
| |
thread by: Marcel |
last post Oct 18 '05 by: Marcel
<?php
I have a question about 2 connection strings to a ms sql database.
# TEST DATABASE
$connecttest = MSSQL_CONNECT("TEST", "sa", "123456") or exit("Unable to
connect to MS SQL Server at 10.0.10.58");
$select = mssql_select_db ("database1",$connecttest) or exit("Unable to
|
thread by: Mazin07 |
last post Oct 18 '05 by: Chung Leong
I have a script that makes multiple requests to several sites. However,
each request takes a little while. How can I get the PHP script to
output data to let the user know that it's checking? For example, I have
echo "Checking...";
at the beginning, before I do any hocus-pocus, but it doesn't show up
until the script is done. How do I...
|