Loading a HTML or PHP page in flash
Hello
I would like someone to tell me if there is a way to load a html or php page into flash as a movieclip without actually navigating from the flash player (using getURL code). Basically, I wonder if there is a way to load a html file, just as we load movieclips and perform all of the functions of html page.
Thank you
Jean Yves
N ° Flash can only supports displaying html in textfields and only a very limited number of html tags (look to the top of the TextFields htmlText property). To view a html/php file is therefore not possible.
Tags: Adobe Animate
Similar Questions
-
How to send a complete HTML, dynamic PHP page using phpmail()?
How to send a complete HTML, dynamic PHP page using PHP Web site phpmail(), similar to the post this page or send the link to a friend?How to send a complete HTML, dynamic PHP page using PHP Web site phpmail(), similar to the post this page or send the link to a friend?
-
Forwarding .html to .php
I re-did a site and added a few includes and changed the .html to .php pages
So I put a redirect on the file index.html pointing to the index.php page. But I got to thinking, do I really need that? I mean, if I delete the page index.html on the server, the browser is going to serve to the top of the index.php page, right? The reason why I did it was so someone who had the old bookmark page would be redirected. Is this a problem? Thank you.
A 'head' is the code that is exchanged between the client browser and the server on each fetch from the server. You don't see because it's 'meta' information on the nature of this Exchange. There is specific information that can be passed in this heading related to the results of the request for a web page - as the formidable "404 Page not found" error. The browser knows that this has happened because the header sent by the server included a 404 code. A header 30 x is one of the series of header messages that have to do with the actions that the 'customer' needs to take to meet the demand. You can read about them here-
-
How to load external html page into flash? (AS3)
You cannot load an html page into Flash, but you can try to load the html code that it contains in a textfield. Flash supports only a very limited number of html tags, so it is highly likely, you won't get what you're after, if you read an html file that has not been edited specifically for Flash. Just look to the top of the TextField.htmlText property in AS3 help documents and lists the html tags that are supported.
For AS3 you must look in the URLLoader class as much as loadng an external text file is.
-
A simple way to load a pdf page into flash with as3
Hallo,
is there a simple way to load a pdf page into flash with as3 at Flash.
I mean no plug in or as a class.
Thank you.
If it is an air application, you can use the htmlLoader.
Otherwise, you can use navigateToURL but that only opens 'in' your swf, and you cannot manipulate the PDF with actionscript.
-
How to add a html page or page Web Flash SWF in as3?
Hi all
How to add a html page or page Web Flash SWF in as3?
Thank you
Omar
to a swf on the web, use navigateToURL. for a mobile swf file, use the htmlloader or stagewebview class.
-
Flash form in html, using php
Hi all
Please look at attached code ;~) the hosting server is windows.
Within the flash swf shape that is I have three varialbles; name, email and message. Form.MC with applied following ActionScript:
{onClipEvent (data)}
display the Welcome screen
_root.nextFrame ();
}
Submit a button named true.btn with the following actionscript code is applied:
on (release) {}
Send variables in the shape movieclip (the textfields)
to send the PHP page that will send the mail
this.form.loadVariables ("email.php", "POST");
}
I really need this, not really need for my site. I need my friends, wheres kglad and clbeech? Don't want to scream, but I really need this job ;~)
Thank you for your time and your consideration.
Kind regards
Boxing boomHello
Yes, thanks, I'll check it. If someone else could shed light more or some on that, I would really appreciate it.
Thank you all.
Kind regards
Boxing boom
-
Loading the output of php in flash to determine the message
Hello
I use the following tutorial to create a message from php page, however, even in their example, I can't get the php echo function to send the output to the dynamic text fields: http://www.sephiroth.it/tutorials/flashPHP/email/index.php .
Here is the code for the button send php variables and to attempt to capture the echo php 'sent' or 'error '.
on (release) {
// Now import the variables we
// need to send in this movie clip
sender_mail = _root.Semail.text
sender_name = _root.Sname.text
sender_subject = _root.Ssubject.text
sender_message = _root.Smessage.text
// all the vars we just imported
// will be sent via POST method now
loadVariables("sendmail.php",this,"POST");
// and when receives the answer from
// the server...
this.onData = function()
{
// ok, next frame
_root.nextFrame();
if(this.output=='sent')
{
// in case of success
_root.errTitle = 'Thank You.';
_root.errType = "Your message has been succesfully sent.";
} else {
// else
_root.errTitle = "Error!";
_root.errType = "Attention, an error occurred. Please try again later.";
}
}
}
Here is the php which should echo the "sent" or "error"
<?
if(!empty($HTTP_POST_VARS['sender_mail']) || !empty($HTTP_POST_VARS['sender_message']) || !empty($HTTP_POST_VARS['sender_subject']) || !empty($HTTP_POST_VARS['sender_name']))
{
$to = "[email protected]";
$subject = stripslashes($HTTP_POST_VARS['sender_subject']);
$body = stripslashes($HTTP_POST_VARS['sender_message']);
$body .= "\n\n---------------------------\n";
$body .= "Mail sent by: " . $HTTP_POST_VARS['sender_name'] . " <" . $HTTP_POST_VARS['sender_mail'] . ">\n";
$header = "From: " . $HTTP_POST_VARS['sender_name'] . " <" . $HTTP_POST_VARS['sender_mail'] . ">\n";
$header .= "Reply-To: " . $HTTP_POST_VARS['sender_name'] . " <" . $HTTP_POST_VARS['sender_mail'] . ">\n";
$header .= "X-Mailer: PHP/" . phpversion() . "\n";
$header .= "X-Priority: 1";
if(@mail($to, $subject, $body, $header))
{
echo "output=sent";
} else {
echo "output=error";
}
} else {
echo "output=error";
}
?>
The email does send fine, but it does not show the message which lets the user know the status of the message. Any ideas? There is a link to download the .zip file of the tutorial - I have attached it here.place these two textfields in their own frame of _root 1. Add a picture (but NOT a keyframe) in box 2 layer of the textfields. Repeat the test.
-
Hi all
I have a problem with installing OCI8 and I would be grateful if you could kindly guide me how to solve this problem.
I started to read the following articles to find out how to install the package OCI8 to install between PHP and oracle
http://www.php.net/manual/en/oci8.installation.php
http://www.Oracle.com/technetwork/articles/TechNote-PHP-instant-084410.html
Here is my description of the environment
Just a detail: almost every documentation begins by explaining the instant client installation. However, on the same physical machine, before you even install Apache and PHP. Oracle server was completely installed, i.e. both server and client (SQL * Plus, SQL * Loader,...). Accordingly, I have omitted this step in the documentation and I continued by measured install OCI8 and apparently everything has been compiled successfully (no error message).OS: Fedora Core 17 (X86_64) Oracle version: Oracle Enterprise Edition 11gR2 (11.2.0.1.0) X86_64 PHP Version: 5.4.13 Apache version: 2.2.23
Problem: OCI8 does not appear in the phpinfo() function
This suggests that there is a problem. I'll write exactly how I did and I would be grateful if you could well want to take a look at these steps and say if I made errors
I started by running as ROOT. As I said the oracle server has already been installed on the machine and therefore all environment variables required as LD_LIBRARY_PATH ORACLE_SID,... have already been defined in ~/.bash_profile
And if you look at the output below, you can see that for example ORACLE_HOME is detected automatically during the installation (* check Oracle ORACLE_HOME install directory... u01/app/oracle/product/11.2.0/db_1*)
It gave me the following result# pecl install oci8
Once installed OCI8 I've updated the */etc/php.ini* accordingly, by adding the following entries# pecl install oci8 downloading oci8-1.4.9.tgz ... Starting to download oci8-1.4.9.tgz (169,255 bytes) .....................................done: 169,255 bytes 10 source files, building running: phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client [autodetect] : building in /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9 running: /var/tmp/oci8/configure --with-oci8 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for Oracle Database OCI8 support... yes, shared checking PHP version... 5.4.13, ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking size of long int... 8 checking checking if we're on a 64-bit platform... yes checking Oracle ORACLE_HOME install directory... /u01/app/oracle/product/11.2.0/db_1 checking ORACLE_HOME library validity... lib checking Oracle library version compatibility... 11.1 checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands running: make /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8.c -o oci8.lo libtool: compile: cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8.c -fPIC -DPIC -o .libs/oci8.o /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_lob.c -o oci8_lob.lo libtool: compile: cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_lob.c -fPIC -DPIC -o .libs/oci8_lob.o /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_statement.c -o oci8_statement.lo libtool: compile: cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_statement.c -fPIC -DPIC -o .libs/oci8_statement.o /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_collection.c -o oci8_collection.lo libtool: compile: cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_collection.c -fPIC -DPIC -o .libs/oci8_collection.o /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_interface.c -o oci8_interface.lo libtool: compile: cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_interface.c -fPIC -DPIC -o .libs/oci8_interface.o /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=link cc -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -o oci8.la -export-dynamic -avoid-version -prefer-pic -module -rpath /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules oci8.lo oci8_lob.lo oci8_statement.lo oci8_collection.lo oci8_interface.lo -Wl,-rpath,/u01/app/oracle/product/11.2.0/db_1/lib -L/u01/app/oracle/product/11.2.0/db_1/lib -lclntsh libtool: link: cc -shared -fPIC -DPIC .libs/oci8.o .libs/oci8_lob.o .libs/oci8_statement.o .libs/oci8_collection.o .libs/oci8_interface.o -L/u01/app/oracle/product/11.2.0/db_1/lib -lclntsh -O2 -Wl,-rpath -Wl,/u01/app/oracle/product/11.2.0/db_1/lib -Wl,-soname -Wl,oci8.so -o .libs/oci8.so libtool: link: ( cd ".libs" && rm -f "oci8.la" && ln -s "../oci8.la" "oci8.la" ) /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=install cp ./oci8.la /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules libtool: install: cp ./.libs/oci8.so /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules/oci8.so libtool: install: cp ./.libs/oci8.lai /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules/oci8.la libtool: finish: PATH="/usr/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/op t/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/sbin" ldconfig -n /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules ---------------------------------------------------------------------- Libraries have been installed in: /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. running: make INSTALL_ROOT="/var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9" install Installing shared extensions: /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules/ running: find "/var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9" | xargs ls -dils 3679979 4 drwxr-xr-x. 3 root root 4096 Apr 4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9 3680009 4 drwxr-xr-x. 3 root root 4096 Apr 4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr 3680010 4 drwxr-xr-x. 3 root root 4096 Apr 4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64 3680011 4 drwxr-xr-x. 3 root root 4096 Apr 4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php 3680012 4 drwxr-xr-x. 2 root root 4096 Apr 4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules 3680008 596 -rwxr-xr-x. 1 root root 606865 Apr 4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules/oci8.so Build process completed successfully Installing '/usr/lib64/php/modules/oci8.so' install ok: channel://pecl.php.net/oci8-1.4.9 configuration option "php_ini" is not set to php.ini location You should add "extension=oci8.so" to php.ini #
Also I updated the * / etc/sysconfig/httpd * in order to export the specified operating system environment variables set. So I added the following lines at the end of the file;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; If you wish to have an extension loaded automatically, use the following ; syntax: ; ; extension=modulename.extension . . . extension=oci8.so . . . ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; UNIX: "/path1:/path2" ; ; . . . extension_dir="/usr/lib64/php/modules"
To verify that these values are actually taken into account by Apache, I runORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib LD_LIBRARY_PATH64=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib TNS_ADMIN=/u01/app/oracle/product/11.2.0/db_1/network/admin NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252 ORACLE_SID=db01
Can I run a PHP script with the phpinfo() function and present especially in the environment section were the values above the LD_LIBRARY_PATH variable.# service httpd restart
As I said, however, there is no OCI8 input output of the phpinfo() function. I checked the apache log file and saw that there is a problem
What I understand log above, is that the libclntsh.so.11.1 shared library is not found. Yet I checked and saw that it is present in LD_LIBRARY_PATH# cat /var/log/httpd/error_log [Thu Apr 04 16:02:13 2013] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 [Thu Apr 04 16:02:13 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Apr 04 16:02:13 2013] [notice] Digest: generating secret for digest authentication ... [Thu Apr 04 16:02:13 2013] [notice] Digest: done PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/oci8.so' - libclntsh.so.11.1: cannot open shared object file: No such file or directory in Unknown on line 0 [Thu Apr 04 16:02:13 2013] [warn] mod_wsgi: Compiled for Python/2.7.2. [Thu Apr 04 16:02:13 2013] [warn] mod_wsgi: Runtime using Python/2.7.3. [Thu Apr 04 16:02:13 2013] [notice] Apache/2.2.23 (Unix) DAV/2 PHP/5.4.13 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations #
If the last line, shows that the specified library exists in * / u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1*.# locate libclntsh.so /u01/app/oracle/product/11.2.0/db_1/inventory/Scripts/ext/lib/libclntsh.so.11.1 /u01/app/oracle/product/11.2.0/db_1/inventory/backup/2012-06-25_12-08-41PM/Scripts/ext/lib/libclntsh.so.11.1 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.10.1 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1 #
So I seem really what is the problem and the strangest thing is that, in the command line PHP seems to detect my oracle server settings.
I thought that maybe there are several different php.ini and one used in GUI is not the same used in CLI but research has shown that there is only a single php.ini file$ php --ri oci8 oci8 OCI8 Support => enabled Version => 1.4.9 Revision => $Id: e2241cffb72c940cb2ca267b7a6a0ce436de7e5e $ Active Persistent Connections => 0 Active Connections => 0 Oracle Run-time Client Library Version => 11.2.0.1.0 Oracle Version => 11.2 Compile-time ORACLE_HOME => /u01/app/oracle/product/11.2.0/db_1 Libraries Used => -Wl,-rpath,/u01/app/oracle/product/11.2.0/db_1/lib -L/u01/app/oracle/product/11.2.0/db_1/lib -lclntsh Temporary Lob support => enabled Collections support => enabled Directive => Local Value => Master Value oci8.max_persistent => -1 => -1 oci8.persistent_timeout => -1 => -1 oci8.ping_interval => 60 => 60 oci8.privileged_connect => Off => Off oci8.statement_cache_size => 20 => 20 oci8.default_prefetch => 100 => 100 oci8.old_oci_close_semantics => Off => Off oci8.connection_class => no value => no value oci8.events => Off => Off $
It's almost 3 days I'm Googling to find a solution to this problem without success.# locate php.ini /etc/php.ini # # # php -i | grep Configuration Configuration File (php.ini) Path => /etc Loaded Configuration File => /etc/php.ini Configuration #
So, could someone help me, what is the problem? Why the OCI8 module cannot be loaded by PHP and become visible in the output of the phpinfo() function?
Thanks in advance,
Kind regards
DariyooshSince you say that the PHP command line is OK, I'm sure the problem comes from the Apache environment variables set.
The last time I saw a similar problem, it was because I forgot to use "export". It was on Oracle Linux, equivalent to RHEL.I can't explain a couple of your most recent results, for example what you're seeing when using 'export' in/etc/sysconfig/httpd.
Try to disable SELinux. On Oracle Linux would change/etc/selinux/config, SELINUX set to DISABLED and reboot. See also the setenforce command.
About starting Apache, you must use apachectl start or /etc/init.d/httpd only if you set environment variables in your shell terminal and you want those to go down to Apache. If you look at the script of shell/sbin/service (Linux, Oracle), you can see that it works 'env-i' to start with a vacuum environment. If the environment values that you set in the terminal shell would be ignored. That's why they should be added to/etc/sysconfig/httpd when using 'service '.
Oh, and don't forget to give the permissions for the owner of the process Apache to read the Oracle libraries and other data files in u01/app/oracle/product/11.2.0/db_1. After a new installation of DB I always change the permissions on the ~ 700 to 755 oracle directory. See 'frequently observed connection and environment errors.
page 107 of the book. -
Refresh only a table in a Php page
Hello
I have a Php page with a dynamic table (recordset with DB MySql) with the pagination is complete, when I use the pagination in my table of the entire page is reload as the solution to load only the table.
Thank you
It must query the data in an XML document, then use Spry to create pagination:
Spry samples
http://labs.Adobe.com/technologies/Spry/samples/data_region/PagingSample.html
http://labs.Adobe.com/technologies/Spry/samples/data_region/SpryPagedViewSample.html
Query in XML format
http://labs.Adobe.com/technologies/Spry/samples/utils/query2xml.html
This will require some coding by hand on your part. When it comes to advanced tasks, the graphical interface is very limited in what it can do.
-
PHP, xml and Flash [multiple holders]
Hello
A few days ago, I posted a discussion related to php, xml and Flash. I want to display my xml in flash. I am using to do so. I now have a problem of obtaining xml data in my table to appear on different licensed video clips.
It's my code. I tried a different configuration of the code, but without success.
var urls:Array = [];
var: index number;
var index1:Number;var xml = new XML();
xml.ignoreWhite = true;
xml.onLoad = parseXML;
XML. Load ("Content.php");parseXML() {} function
for (var i: Number = 0; i < this.firstChild.childNodes.length; i ++) {}
URLs.push (this.firstChild.childNodes [i].firstChild.nodeValue);
}index = 0;
index1 = 1;startyourappF();
}
function startyourappF() {}
this.onEnterFrame = preloadA;
holder.loadMovie (urls [index]);
This is me trying it to get the second element in the url in an another film clip holder.
holder1.loadMovie (URLs [index1]);
}function preloadA() {}
If (Holder.getBytesLoaded () > 50 & & holder.getBytesLoaded () > = holder.getByte sTotal()) {}
delete this.onEnterFrame;
Holder._width = 260,0;
Holder._height = 96.0;
}This should be resizing to the holder of the second.
If (holder1.getBytesLoaded () > 50 & & holder1.getBytesLoaded () > = holder1.getB ytesTotal()) {}delete this.onEnterFrame;
holder1._width = 260,0;
holder1._height = 96.0;
}
}The success of code loads the holder first image but cannot load the second url holder1 and others, that I want to add. I spend the whole night to try different configurations of the code but without success.
I hope you can help me. All I need is more than an image loaded from the URL variable in several other variables of the licensee.
Hope you can help.
soon > >
You must first set the structure of your directory and you will need to use relative URLS. There is no sense to work on something else because what works now in your first image, and if you fix the code in your 2nd frame, it will break as soon as you download on your server.
Thus, to duplicate the configuration of directory, that you plan to use on your server and use relative URLS.
If your xml, html and swf are in the same directories and you intend to keep them in the same directories when you download on your server, use load ("timol.xml") to load your xml file. Similarly, remove all path information to load anything else.
-
Hello
what I want to do is to dynamically load the HTML an application Web layout. Which means that I generate an HTML fill it with a string and then put this with some style options in the qml Web view option.
I am new to BlackBerry applications development and I do not know how to start here. Can anyone give me a tip?
This is really another question and which I think needs you to play with the creation of your own custom control classes until I understand the concept.
However, the key will be;
Create a class derived from QObject
Add a QProperty something like myHtml
Write dynamic html code in the class
Expose the class to QML
Include your library in the QML page
Add your QObject class myHtml property to property html WebView
It seems probably complicated at first, but there are many examples in the samples, so I suggest you download a few of these and work with their understanding.
-
Dreamweaver 6 opening the wrong index.php page...
Please: when I opened my page index.php on the local server in a browser (all browsers), it opens and displays the code html of a different index.php page and this one is in a different folder on the site on the same drive? Why is this happening?
Check the definition of your test server site in DW.
It points to the correct site folder in your test server's default web folder?
C:\wamp\www\yourSiteFolder\
C:\xampp\htdocs\yourSiteFolder\
Nancy O.
-
PHP pages: output error check available and continues to save the page
Hello
I noticed that the error output check (green or red) in the Dreamweaver footer bar (on the left of "glimpses of the unit", "browser preview" and icons 'size of windows') is not available in the pages with the .php extension, .html to.
In addition, Dreamweaver ask me to save the page whenever I change something.
For example, if I use 'commands-> format source' in a .php page, Dremweaver ask me each time to save it to complete this command.
Is this a normal behavior?
I use the latest version, CC 2015 (7714 build), OS X Yosemite.
Thank you
Michele
No, this isn't a bug, it's how DW. DW needs to have the file saved to be able to produce live view, and Yes, it sucks that the characteristics of the Live view mode are lost when in Design mode.
Live view is still in its infancy since Adobe has begun to put the elements in Live view mode. If all goes well, they will see a way to overcome the ongoing pop-up from happening.
Regarding the PHP support, this has always been a minimum feature. If you want a good PHP editor, then there are a lot of options such as
-
I desperately need a preloader to my cover page of Flash and HTML5 Canvas
I tried to advertise on odesk. I contacted the web professionals. Nobody seems to know how to make a preloader to HTML5 canvas!
I put hours of work into this HTML5 canvas: http://erikaviktor.com/ , but it takes a while to load. Several seconds. I really need a preloader on the site but I can't figure out how. I'm totally out of my depth. I don't know what to do. I'm desperate. Even a false preloader would agree. As long as he didn't sit on the page while him remains loaded.
Can anyone help? Point me in the right direction? I'm now 10 hours on this problem. I just need to revive in Edgeanimate? I think they prechargeurs HTML5? But who would end of work week, I did not.
If I seem a bit desperate, it's because I am!
Adobe: why it is not built into Flash?
I found an old thread that describes a way to implement a loading progress bar.
Maybe you are looking for
-
HP ENVY23 - D6U52AV #ABA: speakers put muted when headphones are connected
I tried after an option provided in other post but does not solve my problem in windows 10 Try the following steps to see if they solve your problem. 1 right-click on the icon sound in playback devices select system tray 2. click on speakers (no helm
-
Workstation HP Z420: Z420 Workstation troubleshooting in Windows Installer
Dear expert HP, Thank you for your time I need advice to install windows 7 Ultimate x 64 on HP z420 workstation . I tried many things, but a mistake ((no driver device not found)) is always indicated. Like the attached photo. Do things that I have -R
-
Cannot connect WiFi with Linksys X 2000
Hey,. I have been setting up to my router wireless Cisco X 2000 recently and I have that works well for my wired connections, however for some reason when you try to use the wireless none of our smartphones to connect, unless you use a wireless guest
-
Sometimes the audio does not work and another day, everything is ok. What can this be? IK have an Asus laptop and I work with windows 7. The melody of the beginning when I put on my laptop is ok
-
Hi allEBS R12.2RHEL 6.5I just started our applications and successfully started after I noticed that there is a process that consumes hing he CPU.There is no user access the instance again. How do I know which process caused this high CPU usage?Even