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




FedEx Ship Manager API


I was was wondering if anyone had experience using FedEx's Shipping API's. Is their any online resources? From what I have seen (which isn't much) there are two APIs that I am interested in; one using XML; the other using a SDK developed in C. Either, I assume can be interfaced with using PHP.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Looking For A Highly Modular Time Manager/task Manager System
I'm looking for a highly modular time manager/task mananger which is
(of course!) written in PHP.

Any suggestions?

Btw. the system shall be open source developed under a GNU licence or
such as we - a web developing tem - plans to fiddle with the code and
integrate it in another to-come content management system...

Getting FedEx/UPS Rates?
I built a shopping cart and checkout system, but I'm wondering if anyone knows the best way to get the fedEx/UPS Shipping rates using php. Any suggestions?

Fedex Integration
I have got some problems with FedEx Integration which is as below-
 
Recently we have got a project where I have to implement the FedEx Online shipping calculator. For the same purpose I have down loaded code from phpclasses.org. But I am facing some problem in integrating the same in my project.

I have to provide the calculation for both domestic and International with the following options- For Us Domestic I have to provide- 1) FedEx Ground 2) FedEx 2 day express 3) FedEx Overnight Express.

 

And for International – 1) International Priority Express

                                 2) International Economy.

 

To get the different tag fields I have down loaded APIDirectTaggedTransactionGuideJan2007.pdf from the FedEx website.

 

include('fedexdc.php');// This is the class file which does the linking to FedEx and calculation

 

if ($_POST['uSubmit']!=""){

            // create new fedex object

            $fed = new FedExDC('342464483','0');// I have not yet get the meter number

            $sType = $_POST['sType'];

            $ship_data = array(

                         75=>   'LBS'

                        ,16=>   'Ma'

                        ,13=>   '44 Main street'

                        ,5=>    '312 stuart st'

                        ,1273=> '01'

                        ,1274=> '01'

                        ,18=>   '6173335555'

                        ,15=>   'Boston'

                        ,23=>   '1'

                        ,9=>    '02134'

                        ,183=>  '6175556985'

                        ,8=>    'MA'

                        ,117=>  'US'

                        ,17=>   '02116'

                        ,50=>   'US'

                        ,4=>    'Vermonster LLC'

                        ,7=>    'Boston'

                        ,1369=> '1'

                        ,12=>   'Jay Powers'

                        ,1333=> '1'

                        ,1401=> '1.0'

                        ,116 => 1

                        ,68 =>  'USD'

                        ,1368 => 1

                        ,1369 => 1

                        ,1370 => 5

                        ,3025 => $sType // This I have added

            );

           

            // Ship example

            $ship_Ret = $fed->ship_express($ship_data);

           

            if ($error = $fed->getError()) {

                        echo "ERROR :". $error;

            } else {

                        // Save the label to disk

                        $fed->label('mylabel.png');

           

            }

}

 

/* tracking example

 

$track_Ret = $fed->track(

array(

    29 => 790344664540,

));

 

*/

 

 

 

echo $fed->debug_str. "
<BR>";

echo "Price ".$ship_Ret[1419];

 

 

?>

<table>

<form method="post" action="">

<tr>

<td>US Customers :</td>

<td>&nbsp;&nbsp;</td>

<td><input type="radio" name="sType" value="FDXG">&nbsp;&nbsp;Fedex Ground</td>

</tr>

<tr>

<td>&nbsp;&nbsp;</td>

<td>&nbsp;&nbsp;</td>

<td><input type="radio" name="sType" value="">&nbsp;&nbsp;Fedex 2 Day Express</td>

</tr>

<tr>

<td>&nbsp;&nbsp;</td>

<td>&nbsp;&nbsp;</td>

<td><input type="radio" name="sType" value="FDXE">&nbsp;&nbsp;Fedex Overnight Express</td>

</tr>

<tr>

<td>International Customers :</td>

<td>&nbsp;&nbsp;</td>

<td><input type="radio" name="sType" value="">&nbsp;&nbsp;International Priority Express</td>

</tr>

<tr>

<td>&nbsp;&nbsp;</td>

<td>&nbsp;&nbsp;</td>

<td><input type="radio" name="sType" value="">&nbsp;&nbsp;International Economy</td>

</tr>

 

<tr>

<td>

<input type="submit" name="uSubmit" value="Calculate">

</td>

</tr> FDXE/FDXG

</form>

</table>

 

 

Here in the above code I have given radio button values FDXG and FDXE for FedEx ground and over night express. I am not able to understand what value I shall pass for the other radio buttons. From the PDF documentation I do not really understand what value I shall use for tag field 3025 for all the above options.

Can some one  please help me out in this?

 

 

Thanking you

Fedex Calculate Shipping Rate
Does anyone know how to calculate the shipping rate on Fedex? There
was a web module to handle the web query for rate at

Currently it is not available, I wonder if there still has a similar
module like that. I did some search on the Fedex sites and find out
they have several API and I do not know which one I should choose.
Could anyone give me some up to date idea on that?

Htaccess Manager?
I'm looking for a script that could administer htaccess scripts for
several folders. Our website has over a hundred folders which need
protection, and it would just fabulous if there was a script that could
make it all happen from the same front-end. The server is a
Windows-server, running php5. I've searched hotscripts.com, but all
there was were either for a single folder or just didn't work.

Looking For News Manager .
I'am looking for News Manager and Photo Gallery (.php & MySql).

Webhosting Manager App
I am tasked to develop an CPanel like web app and I am stuck.
Stuck at the start.
I've downloaded a few others open source control panel hosting apps
(vhcs, gplhost, virtualmin..etc) to give me inspiration. I know what
to include, but the problem is how to make it work.

I am not relatively new to linux, for i am using it since as an office
workstation for the past 4years. With the help of 'man' and 'google',
i am able to modify confs of different services.

the real question i am wanting to ask is how those amazing CP/WH
Managers able to modify the confs without 'root' or using a 'sudo'.

i am implementing it on a CentOS4 distro.

Download Manager
Ive written quite a complex download manager using PHP MySQL and when the user clicks the download image i call a script like so download.php?file=[filename]

Ideally i would like the page to stay static, im pushing the file to the browser with a META TAG and the page goes blank, i cant redirect with an header(); because im using sessions and i get loads of errors.

Ive seen loads of download sites that dont need another page to redirect to, how do i keep the same page and allow the file to be downloaded.

File Manager Acting Up?
The thing is that I'm developing a file manager at the moment, I'am however
having a couple of problems with opening directories and one other small
issue too.

Can anyone see the problems with this code :

if(!isset($filename))
{
$current_dir = getcwd();
$dh = opendir($current_dir);
while (false !== ($files = readdir($dh)))
{
$dir_listing[] = $files;
}
sort($dir_listing);
echo "<font color=white><b>CURRENT DIRECTORY:";
echo $current_dir;
echo "</b></font>";
}
else //this is the part where I'm having trouble, for the 2nd and susequent
changes of the dir.
{
chdir($filename);
$current_dir = getcwd();

//echo $filename, "<<filename
";
//$goTo = "$script_root/$filename";
//$goTo = "$current_dir/$filename";
//echo $goTo, "<<< go to is
";
//echo getcwd();
//$current_dir = getcwd();

$dh = opendir($current_dir);
while (false !== ($files = readdir($dh)))
{
$dir_listing[] = $files;
}
sort($dir_listing);
echo "<font color=white><b>CURRENT DIRECTORY:";
echo $current_dir;
echo "</b></font>";
}

$filename is the name of the directory to open and get info on it's files
and stuff. When I load filemanager.php, the directory it is installed into is used and everything works as normal, but then if I go to another directory such as .. everything works normal, however when I try to change back to the orig dir or to another dir from .. it trys to open it relavtive to the orig dir. I hope you know what I mean. Does anyone know how to fix this.

Also when I try to display the current_dir, in windows it works as expected
but on unix it gives my /home/.falcon/username/folder1/folder2.....
where does this ./falcon thing come from. I would use path_translated thingy
but it does not work on Windows systems.

Robust Session Manager
I'm trying to create a robust session manager which does not rely on PHP sessions. I'm aiming to put it online as a free script when it's polished.

The code below is designed to be included at the top of every page and uses the database table shown below. By relying on neither paths nor cookies this should be a more robust solution to PHP ecommerce. Links are written: http://www.domain.co.uk/page-script/pagename/session/

page-script = script to build page pagename = variable passed to page-script to load content from database (e.g. 'homepage' could be an index entry in a sitetext table) By adding an .htaccess file with:

<Files page-script>
ForceType application/x-httpd-php
</Files>

In the document root the rewriting is done automatically. This does not require any access to httpd.conf or mod_rewrite which many shared hosting users do not have. An added advantage is that it is search engine friendly, many search engines do not like indexing URLs which are clearly database driven, i.e. page.php?var=345&var2=4589 Anyone have suggestions/opinions on this method of tracking sessions? Code:

Writing A Kind Of Download Manager In PHP
I'm writing a kind of download manager. Now the problem is that all the files are on different servers with different extensions.
I'm quite new (not totally) to PHP and I cant find the solution. I've tried headers, but they only work on same server as download.php.

Error Msg Trying To Play With Sqlite Manager
error msg...
the procedure entry point spprintf could not be located in the dynamic link
library php4ts.dll

i dumped the contents of the download of sqlitemanager in a web server
directory.
at first it couldnt find the sqlite extension so i went to the php website
and retrieved one
and placed it in the extension directory. now i get this message and i dont
even have php4ts.dll
installed on my machine. i have a php4ts.lib i believe. i'm wondering
since the version of
php i have on my machine didnt already have this extension set up ready to
go maybe i need
a newer version.

php works fine on my machine when i am not trying to use this new program.

this sqlitemanager will give me a few more features that i wouldnt get
unless i bought sqliteplus.
programming is just a hobby for me and i dont make any money doing it.
right now i am learning tcl/tk with sqlite to practice making a gui
database. that is what led me to the
new sqlitemanager. there was an sqlite browser but that didnt let me
execute sqlite queries.

Database Manager Using Internet Browser
I'm trying to build a database manager, where I can edit and update my database using a web interface.

Creating Download Manager For Multiple Files
Has anyone run across some sort of download manager to be able to download multiple files at a time via http with PHP? I run a mp3 site and I would like to be able to allow people to download whole folders at a time basically the same functionality as ftp but with http. It would be kind of like the smart download thing that netscape has but cross platform compatible. Any ideas?

Reccomendations For A Good File Manager Script.
I would like a nice php based file manager script so when someone goes
to a directory they can see the contents and be able to download
files.

Currently my Apache can do this but the rows are limited to 25-30
characters long and that makes identification of files a little hard.

I know there are an array of files out there which is why i am asking
for recommendations. :)

Warning: SQL Error: [Microsoft][ODBC Driver Manager]
Cannot get an ODBC (or MSSQL) connection to MS Sql Server 7. Using a system datasource and it connects fine, but PHP does not like it. I've had no problem with NT4 but Win2K is another story...

Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in c:inetpubwwwrootindex.php on line 8

Is There Any Open Source Mailing List Manager That Works Good
I am searching for a good open source php mailing list manager for some days. can any one suggest me one please.

Looking For A Database-driven Email "contact Manager" Application
I'm going to be collecting lots (a few thousand) email addys. Each of
these people will be interested in recieving mail on one or more
topics, with an open ended and growing number of topics. Mailman with
a BD application behing it might be ideal as it would let users add
and delete themselves and each topic would have it's own email list
name identity.

Mailing List Manager, Send To List
I'm looking for a mailing list script (php) that has a function to let
users to reach out to all recipient on the list by simple send the
email to a specific maillist- address.

Mailman has this functionn but as a just got a webserver account I
can't use mailman nor install it.


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