Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Deos Exec() Support A Popup Windows?


I am using exec() to run a .exe file which call another function to popup a new window? It does not work. Anyone know how to make it work?




View Complete Forum Thread with Replies

Related Forum Messages:
'exec' Creates Popup Windows
I'm running php under apache (I'm using the uniserv distribution) on Windows XP. Every time I execute an external command using backticks or exec or system, I get a cmd windows that pops up for the 1/4 second the command executes. This would all be fine, except that I'm deploying the server to run locally on the user's box, and needless to say, the popups are annoying.

I've search everything I'm clever enough to understand and
can't find a way to get the external commands to run in the 'background'. All of the input and output of the commands have been redirected, any shell command causes this behavious, and in all other respects it all seems to work great.

View Replies !
Server Time - Popup Windows
I have an image on the website. When I click on that image a popup windows should open show a message saying "For demo call 123-123-1234" and if the client clicks during the night (9Pm to 7AM) he should get a form which accepts his email address and on submit sends to "abc@abc.com".

View Replies !
Create Popup Windows When Clicking On A Link.
How to create popup windows when clicking on a link. I have managed to do it using javascript, but as you know search engines have difficuty reading javascript. Also i would like to know how to remove the address bar and file bar from the top of the page when it happens.

View Replies !
T1lib Support On Windows
I don't normally do PHP development work on Windows but I need to port
an image creation tool to Windows. So I have loaded the php_gd2.dll
module for image creation support but it doesn't include the t1lib
functions and the code relies on the imagepsbbox(), imagepstext() and
imagepsloadfont() functions.

The result from gd_info() is:

array(11) {
["GD Version"]=> string(27) "bundled (2.0.28 compatible)"
["FreeType Support"]=> bool(true)
["FreeType Linkage"]=> string(13) "with freetype"
["T1Lib Support"]=> bool(false)
["GIF Read Support"]=> bool(true)
["GIF Create Support"]=> bool(true)
["JPG Support"]=> bool(true)
["PNG Support"]=> bool(true)
["WBMP Support"]=> bool(true)
["XBM Support"]=> bool(true)
["JIS-mapped Japanese Font Support"]=> bool(false)
}

Anyone have any idea where I can get a php_gd2.dll which includes the
t1lib? I can always recode the functions to use TTF fonts instead but
only want to do that as a last resort.

View Replies !
IMAP Support For PHP On Windows
I have a computer I've set up as a testing server at home and I'm having a
problem trying to locate the pre-compiled IMAP libraries for PHP on Windows.
According to the book "PHP & MySQL Web Development by Luke Welling and Laura
Thomson", I can get the Windows build of the imap libraries from
http://www.php4win.de. But in going to the website, the title bar says
"php4win suspended" with an empty page.

The creators of IMAP, http://www.cac.washington.edu only seems to distribute
the source and you have to compile it yourself, which I don't have a
compiler. Anyone know where I can find it (or an older and possibly
compatible build)?

View Replies !
Type Support On Windows
I want to get PHP running with GD capability that allows me to use true type fonts, preferably to generate GIFs (the US patent has expired, but GIF support isn't due back until mid-2004 due to global patents). Has anybody got experience of running this combination on a windows box (using apache).

View Replies !
Exec() On Windows
this is my problem: I need to "exec" the following command:

C:ProgrammiSoftsoft.exe -v -d C:dati$nomefile
C:datipdf$filename

and i tried to execute it in php with (one of) the following lines....

exec("C:ProgrammiSoftsoft.exe -v -d C:dati.$nomefile
C:datipdf.$filename");
exec("C:ProgrammiSoftsoft.exe" -v -d "C:dati".$nomefile
"C:datipdf".$filename);
exec("C:ProgrammiSoftsoft.exe -v -d C:dati.$nomefile
C:datipdf.$filename");
exec("C:/Programmi/Soft/soft.exe -v -d C:/dati/.$nomefile
C:/dati/pdf/.$filename");
exec("C:/Programmi/Soft/soft.exe" -v -d "C:/dati/".$nomefile
"C:/dati/pdf/".$filename);

but there is something wrong and that i.. do not understand...
Is there anyone so kind to show me the correct line and a couple of
comments on how to built it? I tried to search for it (manual,
newsgroups...) but i haven't found it (and my mistakes are the result
:-P)

View Replies !
Exec() In Windows
With safe_mode_exec_dir set in php.ini, the Apache service set to 'allow service to interact with the desktop', all of the executables required in the script in the safe_mode_exec_dir and cmd.exe with read/execute rights I still, after days of head-banging and gis'ing and php-freaking, can't get this to work.  I hope it is a stupid simple oversight, even if it leaves me looking stupid and simple, I'll live 

Right: - Windows XPSP2, Apache 2.2.4 and PHP 5.2.0 on Localhost
I'll set the scene.  I need to accept two files from a user and using a third party exe convert one into the other.  I realise using exec() with user input is dodgy so I have concatenated the user input to a long executable string and I'll do extra checking (that they are an msi and wxs file) later.
 
The files are passed to procConvertWix() by the user and from there passed to convertwix() where the concatination is done, and returned back to procConvertWix() for execution.

In procConvertWix() I have displayed the fully concatenated string in the browser, copied and ran it from cmd.exe and it executes perfectly, so that's not the problem.
Displaying the $ouput of exec() simply gives me: Code:

View Replies !
How To Open The Mbstring Support Under PHP Of Windows
In linux & unix envir, add the optional flag ----enable-mbstring --enable-mbsrt-euc-trans can open mbstring module support, But in Windows I couldn't find the dll of mbstring (multi-byte string). How to make it work?

View Replies !
Exec In Background On Windows
How can I get an /exec'ed/ process to run in the background on an XP box?

I have a monitor-like process which I am starting as
'exec("something.exe");' and, of course the exec function blocks until
something.exe terminates. Just what I /don't/ want. (Wouldn't an & be
nice here! Sigh)

I need something.exe to disconnect and run in the background while I
continue on with my script.

View Replies !
V4.0.2 And Exec() In Windows 2000 / IIS
Are there any tricks to getting the exec() function to work under
Windows 2000 with IIS? PHP v4.0.2 is installed on the server.

View Replies !
Use Exec() In PHP 5.2 On A Windows XP Pro System
I'm trying to use exec() in PHP 5.2 on a Windows XP Pro system. What I'm trying to do is use it to tell an already running program what to.

For example:
X:pathprogram.exe /something
or
X:pathprogram.exe /something_else

If I do the command through the command line, it works, but so far I have been unsuccessful in PHP. Usually it PHP just hangs, and give no error message, and does nothing to the program.

View Replies !
Need A Windows Binary Or Zip For PHP 5.0.5 With MySQL Support Builtin
Need an installation set for PHP 5.0.5 Windows Binary or Zip for PHP
5.0.5 with MySQL support built in

View Replies !
Compile Oracle Support On Linux For Windows
I'm trying to help a local non-profit organization tie in their online
credit card donations to their existing vendor software, which uses
Oracle 8i (8.1.7) on windows. Does anyone have any pointers on 1) how
to compile oracle support into PHP, not having a linux version of
Oracle, and 2) creating remote connections to Oracle.

View Replies !
Does MyAdmin Support Windows Integrated Authentication
I have installed PHP 4.x and PHPMyAdmin and all works. But I cannot get PHPMyAdmin to work with IIS and Windows Integrated Authentication. Does PhpMyAdmin work with IIS Windows Integrated Authentication or only Anonymous Access.

I have searched but cannot find an answer. It is using auth_type http in the config.inc.php file.

View Replies !
Exec() Function Under Windows 2000 With IIS?
Are there any tricks to getting the exec() function to work under
Windows 2000 with IIS? PHP v4.0.2 is installed on the server.

View Replies !
PHP Exec() And Zipping Upload File In Windows
I have the following code. What I need is to zip the file
(c:webuploadsomeFile) to d:websomeFile.zip.

$cmd = 'c:zipzip.exe '. $movedFile. ' '. $finalFile;
exec( $cmd, $cmd_output );

File is being uploaded by the apache server, but it's not being zipped.
My guess "", escaping, is causing problem in windows path. Do I also
have to escape the $movedFile content? Forexample $movedFile=
"c:webuploadsomeFile".

View Replies !
Warning: Date(): Windows Does Not Support Dates Prior To Midnight
I tried to use the date() function with the mktime(). It keeps giving warning:

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970

I could use the @ to surpress the warning but I would like to know why it's happening. Take a look at this. There doesn't seem to be anything wrong with it. PHP Code:

View Replies !
[function.date]: Windows Does Not Support Dates Prior To Midnight (00:00:00)
I'm working with PHP in a Windows environment and ended up with the following message:

Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in c:Inetpubincludecommonereken.inc.php on line 29
Whether I'm working in Windows or Linux is all the same, because I'm dealing with dates prior to the year 1700 as well.

I've found the following library:
http://phplens.com/phpeverywhere/adodb_date_library

It replaces a number of standard php functions such as date(), but for strtotime() there's no replacement. Anybody got an efficient code solution for this?

View Replies !
Can't Open A New Fullscreen Popup From Another Popup Window
I can't seem to make a fullscreen popup from a page that is already a fullscreen popup. What I want to do is open another fullscreen popup window from a current fullscreen popup that has the link in it. The link that comes up is http://www.somesite.com/"javascript:void(0);/"

Here is a sample of the code I am working with. Does anyone see anything wrong?

echo '<html>'
echo '<head>'
echo '<script type="text/javascript" src="/uploads/File/Javascripts/new_window_max.js"></script>'
echo '</head>'
echo '<body>'
echo '<a href="javascript:void(0);" onclick="fullScreen('/uploads/File',$row['map'],'');">Map</a><br>'
echo '</body>'
echo '</html>'

View Replies !
PHP Running Exec() Windows Program Very Slow In Comparison To UNIX Equivalent Program
Does anyone have an explanation or solution for the following.
I have a PHP script that uses exec() to call a program to do certain
calculations.

The UNIX version of this program I call runs in about 4 to 5 seconds.
When I run the same PHP script using exec() to call the Windows equivalent
of this same program on my Windows desktop, it takes about 32 seconds....

View Replies !
Warning: Ftp_exec() [function.ftp-exec]: SITE EXEC Is An Unknown Extension
This is kind of a part II to a question a posted earlier about exec and shell_exec not working.

I'm trying to use ftp_exec to execute some simple command:

$conn_id = ftp_connect("$server") or die ("Cannot initiate connection to host");
ftp_login($conn_id, "$username", "$userpass") or die("Cannot login");
$command = 'cd..'
if (ftp_exec($conn_id, $command)) {
   echo "$command executed successfully";
} else {
   echo "could not execute $command";
}
ftp_close($conn_id);


I'm getting the following error:

Warning: ftp_exec() [function.ftp-exec]: SITE EXEC is an unknown extension in /home/urieilam/public_html/work/video/test1.1.php on line 21
could not execute cd..

Have tried other commands as well, get the same. Could this be a security issue or something to do with p Safe Mode? I don't know much about commands, shell, etc..

View Replies !
Pdf With Unicode Support Or Arabic Characterset Support
I am working on a project that have a featre to print the news as a PDF file format. I am having a problem in generaing pdf with unicode support or Arabic characterset support. I can generat eenglish document like a charm but the probem in Arabic text. I am geting the data from the MySQL database. Anyone have any idea what to do, I search everywhere on net find some small results but still I am not been able to accomplish the task.

View Replies !
Only Allowing Popup To Popup Once
I use an OnLoad event in the body tag to open a popup window. I would like to know how to go about only allowing the window to popup once i.e on subsequent visits to the parent page, the popup np longer pops up. I think it is irritating to users to have to close the popup everytime they visit the page. I think I need to set a cookie so that the server knows the visitor is a return visitor and not a new visitor, but I have no idea how to write the code. I do know a little php so I could combine php and javascript if that is the best way to achieve my goal.

View Replies !
Warning: Exec() [function.exec]:
I'm using PHP Version 5.0.4 in IIS5, Window 2003. When I execute my script, it prompt me the following error :

Warning: exec() [function.exec]: Unable to fork [ping 10.8.1.70] in c:Inetpubwwwrootswitch.php on line 62
Below is my script :

<?php
$line1 = exec("ping 10.8.1.70", $output);
exit;
?>

View Replies !
Is It Possible To Authenticate Users Running Apache On MacOS X (with PHP 4) And An Active Directory On Windows 2000 Or Windows XP?
From a PHP webpage, is it possible to authenticate users running Apache on MacOS X (with PHP 4) and an active directory on Windows 2000 or Windows XP?

View Replies !
PHP Popup
I have a site thats full based on PHP... its Zen-Cart.com Zencart Shopping cart... Im tring to add a popup script in the but I have to use this script since i don't know anything else... but it doesn't work because its using ' and not ", can anyone help me with this... Code:

View Replies !
Popup
I want to create a popup file, or a new window using _blank. What is the best way to do this? PHP or java? I would like scrollbars, but not for it to be resizable, and i would like it central to the users screen.

View Replies !
Popup Window
I have a file called opportunityList.php .It has a search button in it.When I press the button a popup window opens.The file that opens in the popup window is searchOpportunity.php,in which there are some text boxes ,drop down boxes and one submit button.When I press submit button the values in the textboxes should be transfered to the main file i.e. from searchOpportunity.php to opportunityList.php and the window should close.

View Replies !
Alert Popup Box
I can't find a way to create an alert popup box for debugging, is this
possible in php? I guess I'm thinking of visual basic where that was so
easy, in php I normally use *print* for this but it can be hard to find.

View Replies !
Popup Using Header
After identification form, how can I open the new window in a popup using header php ?

View Replies !
Using Variable In Popup
I have a website with a login and a postgres database. Users login with their password and continues to their personal page. From here they can watch all their trafic in and out of the database in two seperate queries. Now I need to be able to make a popup with a data-field from the query. for an example Table X:

Date | clock | length | sender | receiver | other

But the record contains more data like - senders adress, phone number etc. So under the 'other'-row, which are shown to the users, I have included a small icon with a popup.
Now I want to show some of the data from the parent query in this popup. can this be done (yes it can - I know ;-) ) How do I do it? something like this in parent:

print "<td><a href="popup.php" onClick=return popup("?????") <img border="0" src="bleh.gif">></A>

And what should i do with my variables that I want to send on to the popup. Variables from the database is shown like this:

print "<td> . $row["Date"];
print "<td> . $row["Clock"];
print "<td> . $row["Sender"];
print "<td> . $row["Receiver"];

View Replies !
An Alternative Popup...
I'm looking at a different means of creating a popup to calling js. I'd
like to use the standard <a href... target="_new"> syntax, so that I can
dynamically control the content of the popup using php. However, I'd like
to control the way it looks as you can with a javascript popup - no
buttons, etc. I'm trying to do this by calling a js function at body
onload=..., and have had some success - 've resized it, and moved it away
from the top left corner of the screen. However, I am not a js programmer,
and am having limited success using js 101 sites and google.

So far, I've got

<script language='javascript'>
var arrTemp=self.location.href.split("?");
var picUrl = (arrTemp.length>0)?arrTemp[1]:"";
var NS = (navigator.appName=="Netscape")?true:false;

function FitPic() {
self.blur();
iWidth = (NS)?window.innerWidth:document.body.clientWidth;
iHeight = (NS)?window.innerHeight:document.body.clientHeight ;
iWidth = " . $_GET["Width"] . " - iWidth + 250;
iHeight = " . $_GET["Height"] . " - iHeight + 20;
self.resizeBy(iWidth, iHeight);
self.moveTo (200, 200);
self.focus();
};
</script>

View Replies !
Popup Calender
In php how to popup Calender and on click date ,month and year its value store in textfield and those value store in database.

View Replies !
Message Popup In PHP
is there a function in PHP to get a message popup on the web page? Couldn't
find any (or missed it) in the docs; so I am now putting "echo <script>
alert(whatever)</script>" whic feels really strange... there go to be a
better solution...

View Replies !
Popup Page
I would like to have a popup page. In case of errors, I would like to have a separate page (of small size) pop up with the error message. How can I make this happen?

View Replies !
How To Popup A New Window
hy guys..need some help here..how to popup a new window..i've been searching for the answer for many times..i want to popup the details via id. ere's my code: PHP Code:

while ($row=mysql_fetch_array($sql)){$id=$row["id"];echo  <TD><div align='center'><a href="javascript:winpopup();">Details</a></div></TD></TR>"; .

View Replies !
Popup Message
I have a php page called sms.php which displays checkbox value retrieved from the previous page. Here is the code:

<?
foreach($_POST['check'] as $value)
{
$check_msg=$value;
echo "Message sent to username<br>";
echo " $check_msg <br>";
}
<?
I want to display these checkbox value in a popup message after i press a submit button <input type="submit" name="submit" value="submit">.

View Replies !
POPUP In Actionscript
I am trying to code this line to open a popup window instead for a new browser window (_blank). Ive tried and tried. So if your good at this type of thing please lelp me out. This code goes into a flash .as file and this is for a button that post data for an email script. Original Code:

for_post_mc.getURL(o._parent.PHP_PATH+"share_video.php", "_blank", "POST");

What im trying to do:

for_post_mc.getURL("javascript:openNewWindow(o._parent.PHP_PATH+'share_video.php','popup','width=450,height=335,toolbar= no,scrollbars=no');", "", "POST");

View Replies !
Selection Box Popup
I cannot find the "New Post" button on the forum itself. I'm needing help in creating a selection box that on submission opens a popup that gets image thumbnails matching the selection, then on selecting one of the thumbnails updates or reloads the previous window with information that matches that thumbnail. Can this be done? I so far have the selection box opening the popup with the thumbnails, but I don't know how to make the thumbnails update the previous window.

View Replies !
Produce Popup
In my office we have a tool thats like telephonic system which is connected to our local system, What i need to do is , Just i have to access the status of that tool(wheather idle, working, etc), After that i need to send this status to server and than produce a pop-up which produce some message from server.

View Replies !
Popup Input Box
I want to make a link on my PHP file that when user clicks on it, it pops up a input box, which then user can type in something, then I could capture the user input and process it in my PHP code. For example, in my pHP file, I have the user click on a link, a pop up input box displays, then asks: "what is your name?", user type in his/her name, then I capture the string of his/her name.

View Replies !
POST To A Popup
I have built a CMS with a Rich text editor in a popup. To send article content to the Rich Text Editor I am URL encoding it and tacking it onto the querystring. Problem is there is a querystring limitation of 1024 characters.

View Replies !
Submitting Php-variables To Popup.
Is it possible to submit php-variables to a popup generated by javascript? I want to do this but is unsure if it will work.

View Replies !
Passing Variable To Popup
I am querying a database and returning job listings. I want the user to be able to click on a listing and view the job requirements and description in a popup window. I am using a javascript function to open the popup window. When I try to pass my id variable into the url, it is passing the id of the last record. In other words, all job descriptions are being given the same id instead of their unique id.

How do I pass the unique id through the url? I can get it to work using target="_blank", but I do not want to do this because I cannot control the window paremeters. Code:

View Replies !
Popup Window And Sessions
I encounter some troubles using $_SESSION, since I use a popup window
in my php code. I mean, $_SESSION['id'] contains a certain value, when
I click to get popup window opened, $_SESSION['id'] value has changed,
without being reaffected explicitly...

View Replies !
Live Counter Popup
I am looking for a live counter. What I need is someone to tell me if it is possible to have a counter that is invisible and is included in a popup window. I need to be able to configure it so that when the counter reaches certain numbers that the popup will be directed to different pages. If this is possible please let me know.

View Replies !
Login System + Popup
Previously i've posted a topic on retrieving images.
(
http://groups-beta.google.com/group...aa7a7e1c3229697
)

It evolved into a topic on PHP/MySQL-login systems. My question was if
it's possible to send session values along while opening a pop-up.

Since then, i've read and read about sessions, hijacking etc. but still
haven't found the right information to get what i want.. (Pop-up
content depends on wether a user i logged in or not)

View Replies !
Popup Autocomplete In Firefox
I've got a form that has a textbox. In firefox (2.0) the pop up just transfer to the next page (process.php) and stay in the background until you click on it and then it disappears.

The code is working on both pages, it just really disturbing to see this stupid autocomplete box transfering between pages.

View Replies !
Bypass The Htaccess Popup
I've finally gotten my htaccess/htpassword scripts working and now I would like to know if its possible to eliminate the popup login. Perhaps use a form login and pass the parameter to htaccess? 

I've done a search and see that adding the username:password to the URL does this but when I do so, I get http/username:password@www.secretpage.html not found.

View Replies !
Popup Inside Echo
i cant get the javascript to work inside echo. i need the window to pop up.

echo ("<a href='.$zeb.' onclick="window.open('.$zeb.','popup','width=440,height=290,left=165,top=140'); return false"><img src='.$ICON.' border='0'></a>");

View Replies !
Popup Window + Picture From DB
I have a link that says: CLICK HERE TO ENLARGE... if you click it, it will take you to another page in the same browser window... i dont want to use _blank beacuse i need a browser window with a 640 pixels width and 480 pixels height... Code:

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved