Creating The Stock Exchange
How would you go about creating a Simulation Stock Exchange? I basicly just want, a few companies(made up), and they all have a starting rate of $2.00 , and some how code it so it increases or decreases at a maximum of $2 difference, and is updated say every 10 minutes. and would you need a database for this to work?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Need A Stock Ticker Script
I can find lots of scripts for getting information on stock symbols, but does anyone know where I can pull the actual stock market volumes from? Like on http://quote.yahoo.com at the top they got the change in the markets and that right above they're add banner. That's what I want. Anyone know where I can pull this from on someone's backend such as an xml file or INC or TXT or whatever?
How To Get Italian Stock Quotes
anyone knows if there is a service that provides italian stock quotes? (better if free ) what i need is MIBTEL, MIB30 and NUMTEL.
Partial Ot ... Stock Market Feed
I'm looking to add a page to my site where I can get stock quotes for the wired, but more importantly, the wireless web(ie my cell phone). I know how write the needed php and WAP application, I just don't know where to get the stock market feed, at least not without parsing a finance.yahoo.com page. Or something else like it that could change at any time. I'm looking for just the raw data feed. Anyone ever had to do this and can give me some info on a feed?
Accessing Sage Stock Information
i have a php site, sat on a mysql database works fine, but we want to integrate stock information which is already stored in a sage database on the clients server. He is using sageline 50, V.12, yet we dont have a clue what to do, does sageline sit on an mssql database for example? How can this be accessed via php? is there any software titles we have to install on the server to make the sageline database available over the net? (the site is stored off-site on a server farm and would need to access the sage database remotely, eg; install a webserver on the sage server so it could be accessed remotely etc? my main problem here is lack of knowledge in terms of how sage stores data.
How Can One Get Real Time Stock Quotes For An Online-community?
For one of our web-communities we plan an offer of real time stock quotes incl. advanced notification services. I have the following questions: - Do you know of any services, that already offers such services in a decent way? And more important: - Does anybody know a provider of such services, that offers a real-time stock quote data stream for such a usage at a decent price? I only know of Deutsche Börse offering it for 1駨 Euro per month. That is too expensive for us.
Exchange, Com And Php
I have a problem with access to Outlook (with Exchange Server) through com in php. I have SBS2003, IIS 6.0 and PHP 4.3.4. The script with only: $outlook = new COM("Outlook.Application"); echo $outlook->version(); is executing 30 seconds and stops. There's no error's but instrance of Outlook starts as IUSER. I put privaledges to Public Folder (in Exchange Server) and even I create Mail Account for IUSER but it nothing changes. I think the problem is with privaledges becouse word and other MS Office applications works thourgh com.
Exchange Rate
anyone know of a source I could query from a php doc for up to date reliable exchange rates? I don't want to have to continually update manually.
Mail() With Ms Win Nt And Exchange.
I am trying to get the mail() to work with a Windows NT 4.0 server, running PHP3. I receive the following error: HTTP Error 405 405 Method Not Allowed The method specified in the Request Line is not allowed for the resource identified by the request. Please ensure that you have the proper MIME type set up for the resource you are requesting. Code:
Mail() Funtion And Exchange
I get an "unknown error" when attempting to use the mail() function to send email in a PHP script of mine. I'm guessing that this problem has something to do with the fact that my host is running NT with Exchange server. At this point I'm not sure that Exchange is actually up and running yet. If this is that case, merely getting exchange up and running may fix the problem. If that's not the case does anyone know what sort of finessing exchange needs for the mail() function to work properly? I can't seem to find any literature on PHP and NT. Perhaps I just don't know enough about how NT works to get things straight in my head (e.g. what would the equivilant, on an NT machine, of popen("/usr/sbin/sendmail -t", "w") be? )
LDAP/Exchange Authentication
Anyone know how to authenticate via LDAP onto an Exchange Server and retrieve an email address for the user logged in? I can connect, bind but my ldap_search() fails miserably and I can't find much help on the Net anywhere.
PHP Banner Exchange Scripts?
Does anyone know if theres any PHP banner/link exchange kits out there? I have seen plenty of CGI and ASP versions but not PHP. Anyone seen any?
Mail() And Exchange 2003
I work for a small college in Virginia and we were running Imail up until December. During the Christmas break we migrated to Exchange 2003 and we are running GFI Mail Security and GFI Mail Essentials and it is running on a Server 2003 box. We have all of our web applications housed on a Red Hat 9 box. Since students have came back and started using our applications, we've noticed the mail() function is no longer sending mail. It doesn't seem to give us an error or anything. Just doesn't pass mail to our users even if they use an outside email address such as Hotmail or Yahoo. I looked around and found out that Exchange doesn't have some of the functionality with SMTP and other Internet protocols so is there a way I can get my email forms to work again?
PHP Webdav/ Exchange Question
I have been working on a php application interfacing with exchange, my application works with PROPFIND but when I do a search I get an error 400, can anyone point out to me why, I do a METHOD SEARCH, my code is below: My query is well formed and works, so my header request may be incorrect? HTTP_REQUEST_METHOD_SEARCH=SEARCH $req = &new HTTP_Request($url); if (is_string($username)) { $req->setBasicAuth($username, @$password); } if ($method!=HTTP_REQUEST_METHOD_SEARCH) { $req->setMethod($method); $req->addHeader("Depth", "1"); $req->addHeader("Translate", "f"); } else { $req->setMethod($method); // $req->addHeader("Depth", "1"); // $req->addHeader("Translate", "f"); } $req->addHeader("Content-Type", "text/xml"); $req->addRawPostData($query); $req->sendRequest(); if (PEAR::isError($req->sendRequest())) { echo "ERROR:".$req->getMessage(); } $responsecode=$req->getResponseCode();
Mail() And Exchange Server Questions
I am trying to send mail externally from my SMTP server(exchange 2000) using mail() function. I have no problem if I send to a internal address (christopher.seidel@jerovsek.si), however if I try to sent to a external address (chrisseidel@hotmail.com) I recieve Warning: Server Error, do I need to authinicate to the exchange server who I am so I can send external e-mail, or is this a different problem? *****************Source code************** <html> <? $header = "From: URL Reply-To: URL"; $to = "someone@hotmail.com"; $message = "lots of text 12345678910"; $subject = "Blah Blah"; $send_result = mail( $to, $subject, $message, $header ); ?> </html> *****************configuration************** PHP4.04 Exchange 2000 IIS 5.0
Mail() And Exchange Server Questions
I am trying to send mail externally from my SMTP server(exchange 2000) using mail() function. I have no problem if I send to a internal address (christopher.seidel@jerovsek.si), however if I try to sent to a external address (chrisseidel@hotmail.com) I recieve Warning: Server Error, do I need to authinicate to the exchange server who I am so I can send external e-mail, or is this a different problem?
Need A Good Banner Exchange Program
I need a good banner exchange program that allows me to approve members and give them the ability to list diffrent sized banners anyone know of any good free or cheap ones?
Sending A Mail Through Exchange Server
I want to send mail through PHP using the MS Exchange server. My php.ini file looks like this (for the MAIL functions) ------- [mail function] ; For Win32 only. SMTP = exchgserver.test.com smtp_port = 25 ; For Win32 only. sendmail_from = thegoodboy@test.com ------- The following extensions have been loaded as well. extension=php_imap.dll extension=php_ldap.dll After making these changes there were no errors/warnings. But I'm unable to send any mails. What are the other changes that i should do to send mails?
Any PHP / Exchange Experts Here (about Mail Relaying) ?
My IIS / PHP / MySQL and Exchange are on the same box. To allow PHP to send mail I need to add my servers IP to the "Granted" list for the SMTP Virtual Server in Exchange, however, this opens me up for spam relaying. If I remove the IP, PHP generated mail no longer goes out (either using mail() or PHPMailer). Is there any combination that I can use to stop my server from relaying AND allow my PHP mail to go out ?
No Formmail Results Via Exchange Server
I have formmail.php set up on a site to process a short form and include an attachment (a resume). I receive my copy of the form results with the attachment just fine, but my client is not receiving his copy. My client uses Exchange Server, so his mailbox is not set up on our webhost, but I created a temporary box to test the form, had it forward to my email address and received those results too. I then sent a test email directly to the address specified in the form and they DID receive the email. Seems like the results are being filtered out somewhere along the line - possibly because of the attachment - however the results are not appearing in the Exchange Server spam folder.
Multiple Page Link Exchange
I am in need of a PHP Link Exchange script (preferably free) that is not for single pages. The use of this script will be for having 4 pages on the website - the home page with paid links for $1, and then 3 other pages for free link exchange (Free Links Page 1, ...2... and so on) If you know of a script out there then please post a link to it here. It would be a huge help to me and I greatly appreciate it. I saw one almost a year ago on the HotScripts Most Poplar page, but cannot remmeber it nor find it in HotScripts now.
Is This Code Looking Good To Exchange PHP Session ID Between Flash And PHP
Can some Flash guru tell me if this Flash code is OK to set / retrieve a cookie for exchange with PHP? stop(); var ses:string; //create the local Shared Object myLocalSO = sharedobject.getLocal("hookie" ); if(_root.destroy) { myLocalSO.data.name = "destroyed"; } else { //if cookie already exists then get ses from cookie if (myLocalSO.data.name.length == 32) { ses = myLocalSO.data.name; getURL("index.php", "_self", "GET"); } //if cookie does not exist then make it else { myLocalSO.data.name = _root.PHPSESSID; } ses = myLocalSO.data.name; getURL("voter.php", "_self", "POST"); }
IMAP - Flags Not Being Applied To MS Exchange Emails
I'm using the PEAR IMAP implementation to read emails from an MS Exchange 2003 Server, so I can store them in a MySQL database. I can see from the communication (below) between the PHP program and the server that the commands are being accepted and confirmed. The message (2) starts as 'not seen' and then gets marked as 'seen'. C: A00015 FETCH 2 FLAGS S: * 2 FETCH (FLAGS ()) S: A00015 OK FETCH completed. Message 2 is unread...<br> C: A00016 STORE 2 FLAGS (Seen) S: * 2 FETCH (FLAGS (Seen)) S: A00016 OK STORE completed. C: A00017 STORE 2 +FLAGS (Seen) S: * 2 FETCH (FLAGS (Seen)) S: A00017 OK STORE completed. C: A00018 FETCH 2 FLAGS S: * 2 FETCH (FLAGS (Seen)) S: A00018 OK FETCH completed. Message 2 marked as read<br> When I reconnect and examine the email, it shows as unread again. Is there some kind of 'UPDATE' or 'APPLY' command I need to use with Exchange?
Displaying Currency Exchange Rates On A Page For Product Price
i want to display the price of a product on my site in multiple currencies that is constantly updated to keep in line with exchange rate fluctuations can anyone tell me how i could get access to basic exchange rate data automatically for my site? (just a few major currencies)
Active Directory / Exchange / Active Directory.
I'm creating an Intranet module for a client (Forum, files upload...etc...etc). This client already has a huge server running on WIN2000 + IIS 4 + Exchange + Microsoft Active directory + proxy and finally PHP 4.03 + MySql. Problem #1 : All passwords are changed every weeks, so I want to be able to import users/pass from Microsoft exchange .... Does anyone have an idea to do such thing with PHP ? Problem #2: I would like that the user logged from the firm's network do not have to log. again when connecting the module. So, is it possible to do such thing ?
Creating XML In Php
I have a website that is hosted on another machine not under my control. i want to be able to use a file to share info between pages. one page inserts into the file and the other reads from the file. i wanted to use XML because there would be a lot of fields and some would variable length or values. i'm looking into the XML functions with PHP however they all seem to read an XML document. is it possible to have one write an XML document?
Creating Dir
I wanted that when users register on my site, automatically a directory would be created, The problem is, when submiting the registration form via HTTP, the user nobody doesnt have the permissions to create this directory. So I tryed ftp_mkdir. And it worked. The problem is... the directory permissions where automatically set to 655. How can this be changed? Chmod will not work here, because the user is nobody.
PHP - Creating DB
i have a form with textbox default value='10', i want to add to database, and changes made on this page will update into database. this is my form field : <input type='text' size='1' name='$i' value='10' /> $i is for loop that prints outs textbox What column do i create in mysql db and how do i assign the each value of textbox ? for example if i create table example... Create example(date date, qty int); how do i insert each textbox value and each day date into database?
Creating PDF
I need to create a pdf on the fly from 6 fields of my database. What my question is, is how can I make sure that the pdf created is in the landscape profile, not the portrait profile? I have never created PDF's on the fly from a db before.
Creating An Image
I am making a links page for my site that takes the links out of the database and displays the name on a button, but the text on each button is different lengths and I was wondering if there was a way I could align them center on the button? This is the button.php code: <?php header ("Content-type: image/png"); $string = $_GET['text']; $im = @imagecreatefrompng ("button1.png"); $text_color = imagecolorallocate ($im, 255, 255, 255); imagettftext($im, 10, 0, 5, 35, $text_color, "c:phpfontsariblk.ttf", "$string"); imagepng ($im); imagedestroy($im); ?>
Creating Directory
I am trying to make my webpage create a file for each person that submits a file, so at first I was using... $myfile=fopen("create/$user.txt","w"); This worked, and it would create the file if it was not there. Then I decided that each user would recieve their own directory, and that the first file to be edited was called options.txt, in their user directory. So, I used this: $myfile=fopen("create/$user/options.txt","w"); But it came back saying that the directory did not exist. Is there a way to create a directory along with the new file that goes into it?
Creating Pdf File
Is it possible to create a pdf file from a HTML form. i want to create a pDF file from HTML form which looks like the scanned copy of HTML form. I hope there must be somebod< who can answer this question.
Help On Creating Images With GD
I'm using a class to easily create plots and charts: 'GRAPH' by Herman Veluwenkamp downloadable from: http://phpclasses.upperdesign.com/ The problem I've found is the following: -When using Win9x-PHP4-Apache all is OK -When using Linux-PHP4-Apache plots appear as viewed in a mirror (both text and numbers) Does anyone give me a clue about what's happening?
Creating Files
I was wondering, if/how do you create a file with PHP, Im making a "network" for my site with PHP, and ran across this problem.
Help In Creating XML File From DB
Hi friends i need to get the details from two tables for creating one XML file.. for that, first i started by defining a DOMXML object $doc = domxml_new_doc(Ƈ.0'); and i have one outertable query as $outer_table = 'main_category' $query = "SELECT * FROM $outer_table"; $resouter = mysql_query($query, $mysql_connect); and when its first row is read its creating elements by $child = $doc->create_element($fieldname); $child = $outer->append_child($child); $value = $doc->create_text_node($fieldvalue); $value = $child->append_child($value); and i need to get some details from second table with its subcategid=maincategid to do this i need to get that particular field that alrady appended to the xml How i can..... i tried get_elements_by_id() but it returns only those elements that comes under it.]
Creating Files
Is there a way to create files such as config.ini thoruhg a form. so they put in all the stuff they want and press submit and then the file is created with their settings in it.
Creating A Schedule
I am building a diet/weight loss website where a customer would subscribe for 1,3,6 or 12 months. I am using Paypal IPN to handle the subscription payments. I would like to create a schedule when the customer first logs on, from the date they signed up to the date when the subscription ends and every 7 days is highlighted as the weigh in day. Basically I would like to generate a list of dates from one date to another with every 7th day highlighted.
Creating Pics On The Web
I am developing a claims input form. part of this form, the original paper version, was to draw a brief picture of the accident. Is there anyway in PHP, or other addied controld to achieve the same result.
Creating Files
I am rather new to PHP and a relative newbie to Linux too. I have a webserver at home (Apache 2.0.48 on SuSe 9.0, PHP4). I have some scripts, one of them needs to be able to create logfiles somewhere on my machine. It must also later be able to read from and write to these files again. Sofar I get a permission error. I tried chmodding 666 or 777 the directory in which the files could reside, to no avail. How do I set up the permissions so that my script can simply fopen a file for writing. Or if that's not the issue, what am I doing wrong or overlooking ? The errors: Warning: fopen(logfileslog1.txt): failed to open stream: Permission denied in script1.php on line 142 Warning: fwrite(): supplied argument is not a valid stream resource in script1.php on line 154 Warning: fclose(): supplied argument is not a valid stream resource in script1.php on line 161 It's the first I am puzzled about, the 2nd and 3rd are a logical consequence. By the way, reading from and writing to a file I have previously created myself with exactly the names I tried to get created by the script (echoed the name, ok) is no problem at all. So I don't think it has much to do with a safemode or open_basedir setting. I also tried creating the scripts in the same dir the script itself resides. Did not work either.
Creating XML Feed Using PHP
I am trying to create an xml-feed using php (without any classes). So I wrote a php script that fetches data from a mySQL db and displays that in xml-format. So far no problem. But then there occured the first problem. I used that code: PHP Code:
Creating Files
I am currently creating a file manager to add/edit/delete files and folders, etc but i was wondering if there is a function in PHP to create files such as a php file or txt file? All i want is a function that will allow you to create a file from the name you give! Is this possible? I have seen a script called Genesis but the problem is that it is Perl! and i dont have a clue about Perl!
Creating Subdomain ?
I want to create a subdomain with the username and then upload files in the subdomain of user ...so that the user can view his files directly from his subdomain...examle...if my site is www.a.com and a user comes with username....anjali...then a subdomain should be created with the name anjali.a.com and all the files of "anjali" user should be uploaded in that folder and that user should be able to directly view his files from the domain "anjali.a.com" ...... i came to know that creating a subdomain is easier in php.....where to find its solution ?
Creating ThumbNails In PHP Without GD
I want to create an image upload script were the user will upload 1 photo while the script will store it in 2 different locations... /pictures /thumbs the script must alo create a second version of the original photo and the new version must be resized into certain width/height....I pretty much know what to do till here...however, what I am asking is that the new version will be resized as well as decreased in terms of quality in order to have a smaller size (but still be fairly viewable)...can this be feasible?
Creating URLs
I'm having problems creating urls when taking info from a mySQL table. For example a table with user_id, name, email and description. Then you've set up a template there this information will be displayed. You have this information in the database: user_id: 1 name: myname email: myname@myemail.com description: information about me Now in this template it should create an URL for this info that looks something like: www.myhost.com/page.php3?id=1 when they click on this link, another page will popup by using a second template with the name, email, description etc.
Creating A Subdomain
I want to create a subdomain with the username and then upload files in the subdomain of user ...so that the user can view his files directly from his subdomain...examle...if my site is www.a.com and a user comes with username....anjali...then a subdomain should be created with the name www.anjali.com and all the files of "anjali" user should be uploaded in that folder and that user should be able to directly view his files from the domain "www.anjali.com". i came to know that creating a subdomain is easier in php. where to find its solution ?
|