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.





Compose MP3 From A Php Enabled Flash Page.


I have an educational web site. I want to create an interface where my students can record their voices client side and then save messages server side. I thought Odeo would solve my problems. (The have their own problems
now.) Then I tried: MyChingo and Mobasoft. Come on $6,000 for a site
licence....




View Complete Forum Thread with Replies

Related Forum Messages:
Can Php Detect If Browser Has Flash Enabled?
I have a flash banner that I want to replace with a static image if the clients browser doesn't have flash enabled. I was wondering if I can do this with php - or if anyone knows of a good method.

View Replies !
Compose 404
how do I use redirect (in .htaccess file) to redirect users for 404 page? I know i can use ErrorDoc but I want to maintain the invalid url, so wanted to implement internal server redirect. Any one have any ideas?

View Replies !
Scan Web Pages And Compose Summary
I am looking for a way to read html file and create a short summary (like that shows in google results for example) which ought to be the first few lines of welcome text or so. Does any got any idea on how to do this? (I searched a lot, but all I found was simply extracting meta tags).

View Replies !
Flash Not Working On Page
I have inserted Flash animation on my page as normal (using Dreamweaver)- only it won't display in the browser for this site - which has various php/mysql pages on it - but this one is a simple html page - which displays the html - but not the Flash ?

The flash displays in the browser if I insert it into a page on another site - which does not use php/mysql.

Is it to do with the set up of the site which uses php/mysql ? - e.g. the fact there's testing server settings. My sites/servers are hosted remotely - and not on my own machines.

View Replies !
Flash .swf Doesn't Show In PHP Page
I've recently put together a flash navigation for a 4 page site... three pages are HTML, the index page is PHP with a weblog. In all current Mac browsers, all four pages load fine. In Win IE 6 only the .shtml pages will load the flash--the .php page shows a big white box instead.

If I include the index.php in the index.shtml file, the flash loads fine, but I'd like to know if there is some issue with PHP & flash that I should look out for... or is the issue with IE 6.

View Replies !
Keep A Flash Navigate In The Center Of The Page
i want that a flash navigate stays in the middle of the screen when scrolling down and up.

View Replies !
How To Open Random Flash Page Using Hyperlink?
I'm new to using PHP so please bear with me.

I'm trying to create a hyperlink that will open a random Flash page so that users will see a different flash module each time. Here is some of the code that I wrote but I'm not sure if it'll work since I'm not very good at coding. Oh yeah, I'm not using a database either.

// random_menu.html
<head>
<?php
$i = rand(0,3);
?>
</head>
<body>
<a href = "www.x.com/random.php?i=$i">x</a>
</body>
---------------------------
// random.php
<head>
<?php
$i = $_post["i"];
if ($i = = 0){
$value = "a";
}
else if ($i = = 1){
$value = "b";
}
...etc.
</head>
<body>
<object>
<param name="movie" value="$value">
<embed src="$value"></embed>
</object>
</body>

Please help if you know how to do this.

View Replies !
How Would I Create A Login System With Flash Then Load A Page?
I'm creating a login in system using flash mx, php and mysql. flash is being used to create the fields...i know (i think) how to get the login in working but what i'd like to know is how would i get (once the user has logged in) a page to load in a frame?

any help would be greatly appreciated.

View Replies !
Image Upload - Using A Variable Passed From A Flash Page
i'd like to pass a variable using post into the following form (that is from php.net)
using a variable passed from a flash page (i'm competent in flash but a novice in php)how do integrate:

$folder = $_POST['folder']."/";

into the form so that when submit occurs the folder path is passed to upload.php :

<!-- The data encoding type, enctype, MUST be specified as below -->
<form enctype="multipart/form-data" action="upload.php" method="POST">
<!-- MAX_FILE_SIZE must precede the file input field -->
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
<!-- Name of input element determines name in $_FILES array -->
Send this file: <input name="userfile" type="file" />
<input type="submit" value="Send File" />
</form>

View Replies !
Set The HTTPS Username And Password Using Php/flash And Then Open The Secure Page.
My hosts allow secure https logins on specific directories. What I want to do is have a login screen in flash, if the user enters the correct username and password I would like to set the HTTPS username and password using php/flash and then open the secure page.

In my mind at this point they'll be logged in and then can navigate the secure page without seeing the browsers https login dialog. Am I kidding myself, or is this possible?

They're config is the following:
PHP Version 4.3.11
4.9-STABLE FreeBSD
Zend Engine v1.3.0

Apache/1.3.33 (Unix) PHP/4.3.11 mod_ssl/2.8.22 OpenSSL/0.9.7c
FrontPage/5.0.2.2635 mod_throttle/3.1.2

View Replies !
Passing Variable From Flash To Php & Back From Php To Flash
I am looking for some help in passing variable from flash to php & back from php to flash.

View Replies !
Is GD Enabled Or Not
I am having some trouble with graphics support. I did not compile and install php on our server but am now in charge of managing it, and I am not sure what I am doing.

I wanted to try out the graphics capabilities as I have never used this. To test it I used the following code straight from the php online manual. Code:

View Replies !
IIS Can Have Xmlhttp Enabled ?
Can anyone tell me as to how IIS can have xmlhttp enabled  in it. Is it some extra component to be downloaded or it can be set from IIS itself. I have to use xmlhttp to get a a string value from a url by using the POST method.

View Replies !
How Do I Know If Cookies Are Enabled?
What is the most reliable and efficient way to find out if the user has
cookies enabled? I know this is a really stupid question, but I can't seem
to work it out.

View Replies !
Got Gd Library Enabled
i ran phpinfo to check if i've got gd library enabled and it says-

Configure Command  cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" 

Does that mean it is enabled?

View Replies !
Zip -- Not Found :: Zip Enabled
I have the following config from my cPanel server

Code:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local'
'--with-xml' '--with-mm' '--enable-bcmath' '--enable-calendar' '--with-curl'
'--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-exif'
'--with-swf=/usr/local/flash' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext'
'--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt'
'--with-mhash' '--enable-magic-quotes' '--with-mm' '--with-mysqli'
'--with-mysql=/usr' '--with-snmp' '--enable-ucd-snmp-hack' '--with-openssl'
'--enable-discard-path' '--with-pear' '--with-pspell' '--enable-sockets'
'--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf'
'--enable-wddx' '--with-xmlrpc' '--with-zip' '--with-zlib'

As you can see, --with-zip is there.

For some reason, I get the following when trying to use "new ZipArchive()"

Fatal error: Class 'ZipArchive' not found in ...

Anyone have any ideas why this is happening?

View Replies !
PHP GD Gif Support Enabled
My GD conf is as follws. You will notice that JPG and PNG say JPG Support, or PNG support. whereas GIF says GIF read support. Does that mean the GD cannot manipulate gifs? or it can but setting needs changing? Reason I ask is we have a program that manipulates a gif and after a GD update it says GIF not supporting in configuration. We do not have the old configuration.

GD Support enabled
GD Version bundled (2.0.12 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

View Replies !
Javascript Enabled
My site has a scaleable banner that uses Java to fit the user's screen. one for 800px width and another for 1024px. This does however mean that the banner doesn't display at all if the user has javascript disabled.

I want to do a simple check in php in order to find if javascript is on or not; from there I can run ifs and elses easily. I'm sure this should be quite a simple function, but I can't find it through searching. perhaps because the search terms are too heavily used.

View Replies !
Imagecreatefromwbmp() Error Despite Gd Enabled?
This is the error I get:

Array ( [0] => 101 [1] => 21 [2] => 6 [3] => width="101" height="21" )
Warning: imagecreatefromwbmp...is not a valid WBMP file

Though my "supported_filetypes" script outputs:

PNG Support is enabled
GIF IS NOT ENABLED
JPG Support is enabled
BMP Support is enabled

suggestions?

View Replies !
How To Know If My Hoster Has PEAR Enabled
how to know if my hosting provider has PEAR enabled and where is located so i know how to make my include to those files? Maybe by phpinfo(); ?

View Replies !
Php Detecting Javascript Enabled
Is there any php script to detect if java or javascript is enabled?

What is a difference between java, javascript and applet?

View Replies !
How Do I Check If Javascript Is Enabled In PHP?
How do I check if javascript is enabled in PHP?

View Replies !
How To Tell If A Form Is Enabled Or Disabled.
I have a text window which is, by default, disabled (i.e. greyed out) using JavaScript.
I want to create PHP code which can tell if the text box is currently enabled or disabled e.g. PHP Code:

View Replies !
Verify If JavaScript Is Enabled
Is there a way that I can verify in my PHP script if a user has JavaScript enabled and if not print a message saying. you don't have JS enabled - ?

View Replies !
Checking Cookie Enabled
Is there any way to check if a user has cookie enabled on his/her browser using PHP?

A fast solution that I found is to set a temp. cookie and after that to check if the cookie is set. If not, the browser has cookie disabled.

View Replies !
Checking If Mail() Is Enabled.
How do i go about checking if mail() is enabled? I am running a script, and i want to check if mail is enabled when someone installs it, and if it is, then email me. would it be something simple like:

<?php
if (function_exists(mail())
{
mail (whatever stuff here);
}
?>

I don't think so though, because the function could exist but just not enabled. Any way to check?

View Replies !
Oci8 Module Enabled
My apache (on win) crash when i start it, after i had oci8 extensions in
php.ini !

1. i had extension phph_oci8.dll in php.ini
2. i've got a php_oci8.dll in my php extensions dir
3. my exetnsion dirs are c:phpextensions in php.ini
4. i've installed oci8 client
5. i've put my oci.dll (from oracle_home) in my windows dir (tips found
in another newsgp)

View Replies !
Sessions Must Be Enabled Both On The Web Server
I'm running a php script that needs sessions enabled in order to use the admin area. The admin area uses Sessions to "remember" that you are logged in.

In order for the admin area to work properly, sessions must be enabled both on the web server, and browser. The script is used on may web sites on the same server. What do I have to tell my hosting company to do in order to get this working. Code:

View Replies !
To Check Wheather Javascript Is Enabled Or Not
How can we check wheather javascript is enabled or not on client's browser??

I want to show the message like "Javascript should be enabled" on browser if javascript is not enabled. otherwise all then working will be as expected with javascript. I want to create a function so that before loading any page i can check this How this can be done?

View Replies !
Pfpro Enabled, But Function Not Found
After a couple of hours of work, I finally got PHP to compile with
pfpro enabled. You can see the output of phpinfo at
http://www13.karatedepot.com/catalog/test.php. However when I call
prpro_init() I get:

"Fatal error: Call to undefined function pfpro_init() in
/home/sites/site1/web/catalog/test.php on line 4" (as seen on the
bottom of the info page)

View Replies !
Create Email Enabled Applications
How to send an email using php3 i.e.,is there any email object in php if any have an idea about email object please send me the appropriate solution for that.

View Replies !
PHP-Java Bridge, How To Make SSL Enabled?
1) I have PHP 4.4, RH 9, Apache 2.0, JDK 1.5, Intel Box
2) Successfully configured php for Apache and Java
3) Able to execute simple JAVA code from within PHP
4) I intend to use JSSE (SUN API for SSL) from within PHP to connect to
another server which listens on secure port
5) Whenever I invoke JSSE from PHP, I get JAVA exception
6) But when I invoke JSSE outside PHP (by compiling and executing java
myjsseclass), it works fine and connects to remote server successfully

My question is do I need some configuration in PHP to invoke JSSE?

View Replies !
Given That Some Browsers Dont Have Javascript Enabled....
Given that some browsers dont have javascript enabled.... do developers try
to avoid using javascript when a php alternative can be used? What sort of
alternative php scripts are often used?

View Replies !
Check If Curl & File_get_contents Are Enabled
Is it possible to check if curl and file_get_contents are enabled and showing if they are on a web page?

View Replies !
Sockets Enabled But Not In Command Prompt
I have a slight problem that I can't seem to figure out on my Vista machine running Apache 2.2 and PHP 5.2.3. I have sockets enabled, and all runs fine when I test it in the browsers (any of them). Main focus would just be socket_create for now. Now when I test this by command prompt (and of course using correct heading info #!/usr/bin/php -q), it gives a "Call to undefined function socket_create".

So I looked further into this, just to make sure sockets were enabled, I used phpinfo() and sure enough its there. But when I run the same script by command prompt, everything is there except sockets. It just does not show up. Here is the test script I am using.

if (($master = socket_create(AF_INET, SOCK_STREAM, SOL_TCP)) < 0) {

echo "socket_create() failed, reason: " . socket_strerror($master) . "";

}else{
echo " socket_create() worked!!";
}

As I said above, it works fine with a browser, but does not work by command prompt.

View Replies !
Captcha Image Isn't Showing Up Even Though GD Is Enabled
I have inserted a captcha in my new members form to prevent hackers but the image isn't showing up even though GD is enabled.

<?php .......

View Replies !
Check If Session Cookies Are Enabled
is there an easy way to check if session cookies are enabled, without using javascript and without passing a GET parameter.

View Replies !
Library That Needs To Be Enabled To Have Images Displayed?
I am trying to display an image for a form. I do not want to use a database and Ive been trying echo to display the image but nothing is working. Is there a library that needs to be enabled to have images displayed? I have the GD Library already enabled.

View Replies !
Managing Content On A PHP/mysql Enabled Website
I have a .htm website with about 150 pages of content. I want to convert these pages to php to, among other things, increase the ease of maintenance of the website.

I'm intending to use a template for the site, such as using a .inc header and footer.

Before looking in depth at php and mysql I was under the impression that for each page I would have variables such as $title $description $author $articledate and $article which would pull data from the corresponding info stored in the mysql database.

Is this the best way to approach such a website? I'm just questioning it because I can't find specific information on the processes needed to set up an article based dynamic website.

View Replies !
Problem With Sessions - Both Transid And Trackvars Are Enabled.
Hi, I am running a simple application dedicated to verify the sessions
variables, but it is not working. both transid and trackvars are
enabled.

testpage1:

<?php
session_start();
session_register('session_var');
?>
<html>
<head><title>Testing Sessions page 1</title></head>
<body>
<?php
$session_var = "testing";
echo "This is a test of the sessions feature.
<form action='sessionTest2.php' method='post'>
<input type='text' name='form_var' value='testing'>
<input type='submit' value='go to next page'>
</form>";
?>
</body>
</html>

test page 2 :

<?php
session_start();
?>
<html>
<head><title>Testing Sessions page 2</title></head>
<body>
<?php
echo "session_var = $session_var<br>
";
echo "form_var = $form_var<br>
";
?>
</body>
</html>

any ideas why i get this problem?

Notice: Undefined variable: session_var in c:program
fileseasyphp1-7wwwestsessionssessiontest2.php on line 8
session_var =

Notice: Undefined variable: form_var in c:program
fileseasyphp1-7wwwestsessionssessiontest2.php on line 9
form_var =

View Replies !
How To Detect Whether Javascript Is Enabled Or Not On Client Machine
to check that whether javsscript is enabled on
client machine or not. if not enabled then what steps should i take to
run my script that includes javascript.

View Replies !
Phpinfo() Tells Me That XML DOM Is Enabled But This Appears To Not Be The Case
I have just recently installed Apache2 and PHP5 on my computer and when
I do a phpinfo(), it informs me that XML DOM is enabled. Originally I
though that you needed to install additional modules but assumed that
with PHP5, you dont.

When I try to do a simple:

$xml_doc = domxml_open_file("../xml/menu.xml");

.... it fails. Unfortunetely, I am not recieving error messages with
apache/php (see my other post -
http://groups.google.co.uk/group/co...5d509d1e9e3c514)
so it just simply cuts of where the error appears and leaves the rest
of the page blank.

View Replies !
Adding LDAP Users WITH Mailbox-enabled
I've have been racking my brain for some time now on why all my AD users created via my php interface did not have any exchange mailbox attributes associated to them. I have built an application that uses the ldap extention in PHP for managing our user base withing our organization. Because our organization uses Exchange, it would be nice if i were able to create the mailbox for any new user that is created via my application... This is the source of my conundrum...

I was wondering if there was anyone out there who has had experience in creating AD users via PHP but more importantly also created the exchange user object. I have spent most of today searching the web for examples and all i have found are vb scripts that use the Collaboration Data Objects for Exchange Management (CDOEXM).

Does this mean that i will need to use the PHP ldap functions for AD user creation, and then switch to COM functions for adding the user to exchange?

View Replies !
Session Problems With Register Globals Enabled
i have a login script which makes use of sessions.

Login script
***********

session_start()
.....
.....
....
if(!empty($row["roll_no"]))
{
$_SESSION['bo_id']=$bo_id;
$_SESSION['pass']=$passw;
.....
.....

and sets the session varaibles if authentication is successful.

Then there is another script which is used to check if the user is
ADMIN


session_start();
.....
......

function isadmin()
{
if($_SESSION['bo_id'] != "ADMIN")
{
global $wwwroot;
include("style.html");
?>
<html><head><title>Must Be admin</title>
<meta http-equiv="Refresh"
content="5 ; URL=<?=$wwwroot?>/userf/login.php">
</head>
<br><br><center>
<font color="brown"><h4>Only Administerators Can Access
This Page</h4></font>
<br>You will be redirected to <a
href="<?=$wwwroot?>/userf/login.php">Login Page</a> in 5 seconds
</center></body></html>

<?
exit;
}
}

Now with the newer PHP versions(that which comes with RH9 ) all this works perfectly. (Register globals is off and session.auto_start is 1 ) But with older PHP versions 4.1.2 etc this script doesn't work because $_SESSION['bo_id'] is empty in the admin authentication script(2nd script). But this session variable is set in the login script !! (In old PHP versions register globals is on and session_auto_start is off)

View Replies !
Global Variables As A Source Of Data, Unless Register_globals Is Enabled
I had a set of code working just fine as long as i turn on register_globals. I am not using any globals, that I am aware of, yet when I turned them off I get this message:

Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

I went into the php.ini and found those two directives and set them as follows:

session.bug_compat_42 = off
session.bug_compat_warn = off

they had previously both been set to 0 (which is the same isnt it?) I then stopped and started the server, but same error msg came up. I'm a bit stumped, because in my code i dont use globals. Any suggestions?

View Replies !
Solutions For Can't Use Mail() In Php 4.3.11 In Redhat Fedora 3 When SElinux Is Enabled
Looks like this is a common issue:

If you installed linux Fedora 3 with the default configuration and latest
patches, you will have Apache/2.0.53 (Fedora) and PHP 4.3.11 in your box.

Without any change you can use sendmail, that means you can use mail under
Terminal, but probably you can not use mail() in php.

The error message in maillog will looks like:
"SYSERR(APACHE), Can't write, ... Permission denied."

I spent several days to search Google and manual, no result. With the help
of ¨˘lvaro G. Vicario in this group, the solution is SELinux. Simply disable
SELinux or Check the "Disable SELinux protection for httpd daemon" in
SElinux config solves the problem within 1 second.

Not sure if this will effect FC4 or not. I remember the php mail() works in
my FC4(php5), but I can not remember during the linux install did I disable
the SELinux or not. But looks like this is SELinux thing not PHP's so the
version of PHP will not effect this. I have deleted the FC4 so I can not try
now.

View Replies !
Get Dialog Box Stating "Cookies Must Be Enabled" On Login
My site is powered by Joomla but no one can help on the Joomla forum, I did manage to work out that it may be a permissions or none Joomla issue that is causing my problem though.

I recently moved my site from one server to another and  now I get a dialog box pop up when I try to log into my site.

I run a Warhammer hobby site Astronomican.

It only happens on the first attempt and when I click login again it always works fine. Feel free to register on my site to test this out for me, let me know your username and I'll delete your user afterwards. Any ideas?

View Replies !
Flash, PHP & XML
Is anyone out there doing anything in terms of parsing in XML into Flash using PHP as a go between so to speak? I have done some stuff parsing XML directly into Flash but I ntoiced a huge speed hit.

Anyways, I was wondering if anyone has done anything or has seen a way to parse XML into Flash via PHP.

View Replies !
Php/flash
I have a text field (multiline) in Flash. When I click "submit" it hits a PHP script. The PHP file sends the message in the text field to an email address. My problem is that when i receive the email, the message is joined together, not recognizing the line breaks that were made on the Flash end. Does the variable of the text field need to be manipulated before it gets posted to the php file?

View Replies !
Re:FLASH MX
I presume PHP sience you are in
the php forum?

View Replies !
PHP Flash
I am connecting PHP & Flash..

$var = $this->_nm->getVar(); <-- Get data from database
$var1 = gettype($var);
if (is_string($var1))
{
echo "s=".$var1;
}

If i print in the browser, it will return s=string, however if i
LoadVars in flash it will return s=NULL

View Replies !
Flash And PHP 4.3.1
I've been developing a project in Flash 5 that utilises both PHP and MySQL. The development and testing was done on a PHP server running version 4.1.2 (pretty old I know) and everything was working perfectly. However, upon upgrading to the latest version of PHP 4.3.1, it appears that my Flash application no longer communicates with the PHP files.

Is there some new security measures that were introduced in PHP 4.3.1 that could be clashing with how the Flash file operates? Has anyone else experienced similar problems?

View Replies !

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